[prssr-devel-ml] Re: Memory leak in 1.3.2 beta2

  • From: "Konstantin Taran" <tarank@xxxxxxxxx>
  • To: prssr-devel-ml@xxxxxxxxxxxxx
  • Date: Mon, 24 Jul 2006 21:57:41 +0300


I just figured out that I have another software which eats all my memory
during it works..
And such memory leaks are not observed on another device..
Maybe something wrong with my device? Ooops! (The device is after HardReset
and moreover, I have updated its ROM some hours ago..)
No, I'm not using the Today pluging, it is turned off..
I'm looking forward for the special build for testing..
the OPML file is attached..


On 7/17/06, David Andrs <pda@xxxxxxxxxxxxx> wrote:

The situation on my device: - before the update: 29.80 MB free - after the update: 29.14 MB free

Diff: ~700KB - a part of it is a stack that is taken by OS when an app
is started and it is freed after some time automaticaly by the system.
The rest is probably also stack (it is allocated dynamically according
to process needs). I will test if the memory is really freed after this
night. During the day I'm developing and such tests are not possible.

I'll try to prepare a special version for testing the memory leak to see
what is happening (hope I'll make it today).

Konstantin, do you have the today plugin turned on? If so, please try
the update with today plugin deactivated. Maybe the leak is there.

And I do not know if I asked you, but your OPML file would be
appreciated. I would like to try the memory leak problem with yours.

For others: Could you try to test the memory leak? Both tests with today
plugin activated and deactivated are needed. Report in this thread or to
my mailbox.


PS: Konstantin, keep reporting the memory leak - I have to get rid of
it. The feedback is the most valueable thing for a developer.

Konstantin Taran wrote:
> Hi David!
> First of all, thank you very much for this job and your time, and your
> diligence!
> It's a really pity but somebody have to say it again and again until it
> will
> be fixed.. David, be strong!
> Memory leaks are still here.
> I just saying what I see:
> ...pRSSr is started and never synchronized before - 20.61 Mb of RAM are
> use
> ...update is started
> ...feeds are loading
> ...RAM is wasting (approximately 0.5 Mb of RAM per each cached feed)
> ...after update there are 30.94 Mb are in use
> ...after pRSSr is closed there are 27.57 Mb are in use
> so around of 7 MB are leaked in the result
> (but I should to admit that this situation is better than it was before)
> Regards,
> Konstantin.
> On 7/10/06, David Andrs <pda@xxxxxxxxxxxxx> wrote:
>> Greetings to all!
>> New beta is available - http://pda.jasnapaka.com/prssr/beta/
>> Mostly bug fixing relase, 2 features added:
>> 1. Initial load of feeds is moved to the backound thread -> no long
>> waiting on startup. When using Summary View, it shows the number of
>> read/unread only for loaded feeds
>> 2. zlib library. I have to add this library to support gzip
>> Now pRSSreader asks HTTP servers for compressed html files. It saves
>> the amount of transferred bytes (if you are on GPRS you really
>> appreciate this). Furthermore there is an errror in skweezer, which
>> sends uncompressed version corrupted (no accents), but gzipped version
>> is ok.
>> What's New:
>> -ADD: feeds are loaded in the background
>> -ADD: zlib for receiving content in gzipped format (needed for correct
>> working of Skweezer)
>> -FIX: When 'Hide read items' was active, items were displayed after
>> restarting the pRSSreader
>> -FIX: HTML optimalizer -> HTML optimizer (in resources)
>> -FIX: Flag/Unflag message is enabled/disabled according to the
>> (main window context menu)
>> -FIX: bad cells in the formatting table (image and 'cached' text were
>> not aligned)
>> -FIX: crash on generating playlists
>> -FIX: when caching enclosures, there was not a countdown for remaining
>> items
>> -FIX: when enclosure caching is finished, feed items on the main
>> are refresh to reflect result of caching
>> -FIX: Copy URL did not work in CNewsDlg
>> -FIX: When creating new folder in CMoveDirDlg and tapping enter, new
>> folder was not used in destination path
>> -FIX: Update requests are queued when updating
>> -FIX: when moving empty dir -> crash
>> -FIX: .html extension was not added for files with dot (.) in the name
>> -FIX: if site was updated and main window was not foreground window,
>> items were not refreshed
>> -FIX: After marking items read/unread/new/flagged/unflagged selection
>> removed
>> -FIX: ugly memory leak
>> and more...
>> Beta2 is available in all languages (Czech, Dutch, English, French,
>> Spanish). Thanks to all localizators for their prompt work. Need some
>> one to check the French version and let me know if it is ok - YoLoLo
>> (the maintainer of French version) is on vacation, so he is not able to
>> check it.
>> Recently, the UPX (packer for binary executables) was enhanced to
>> support binaries for pocket pc. So, I use it to reduce the size of
>> binaries. Now, pRSSreader should take significantly fewer space then
>> previous versions. So do not be scared that binaries are such small, it
>> is not an error :)
>> Hope this beta will be stable enought. I plan 14 days of
>> testing/bugfixing and if all things will go smoothly, then the official
>> release will come.
>> Konstantin, could you check if the memory leak you've reported is still
>> there? And as you may noticed, a lot of bugs reported by you were fixed
>> too, so please check them again if they are gone. Thanks. The silence
>> means, they are gone :)
>> Enjoy the testing!
>> --
>> David
>> PS: Hope I did not forget for something.
>> --
>> pRSSreader development mailing list
>> prssr-devel-ml@xxxxxxxxxxxxx
>> http://www.freelists.org/archives/prssr-devel-ml
pRSSreader development mailing list

<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
                <keyword text="Hermes" />
                <outline title="HEAP">
                        <outline title="MEMBRANA" 
xmlUrl="http://www.membrana.ru/export/rss.xml"; type="rss" 
filename="MEMBRANA.xml" lastModified="Sat, 27 May 2006 15:00:01 GMT" 
ETag="&quot;1562cb-7c80-44786971&quot;" />
                        <outline title="iXBT.com" 
xmlUrl="http://www.ixbt.com/export/news.rdf"; type="rss" filename="iXBTcom.xml" 
lastModified="Sat, 27 May 2006 15:00:01 GMT" 
ETag="&quot;81cf58-b985-44786971&quot;" />
                        <outline title="Ð?Ñ?оекÑ?Ñ? на Free-lance.ru 
(УдаленнаÑ? Ñ?абоÑ?а)" 
xmlUrl="http://www.free-lance.ru/rss/projects.xml"; type="rss" 
filename="Freelanceru.xml" lastModified="Sat, 27 May 2006 13:35:16 GMT" 
ETag="&quot;680543-3dbb-414c527d18d00&quot;" />
                        <outline title="Ð?овоÑ?Ñ?и Ð?омпÑ?Ñ?ленÑ?а" 
xmlUrl="http://www.compulenta.ru/rss.xml"; type="rss" filename="Feed4.xml" 
lastModified="Sat, 27 May 2006 15:00:09 GMT" ETag="" />
                        <outline title="ANEKDOT.RU" 
xmlUrl="http://www.anekdot.ru/rss/export.xml"; type="rss" 
filename="ANEKDOTRU.xml" lastModified="Sat, 27 May 2006 03:00:02 GMT" 
ETag="&quot;ba15c-917-4477c0b2-koi8-r&quot;" />
                        <outline title="Ð?овоÑ?Ñ?и из &quot;Ð?иÑ?а 
Ñ?анÑ?аÑ?Ñ?ики&quot;" xmlUrl="http://www.mirf.ru/rss.php?what=last10"; 
type="rss" filename="Feed5.xml" lastModified="Sat, 27 May 2006 15:02:35 GMT" 
ETag="" />
                <outline title="TESTER.com.ua">
                        <outline title="Ð?Ñ?еÑ?Ñ?-Ñ?елизÑ?" 
xmlUrl="http://forums.software-testing.ru/rss.php?forum=87"; type="rss" 
filename="CQA.xml" store_images="1" today="0" lastModified="Wed, 24 May 2006 
23:10:51 +0400" ETag="" />
                        <outline title="Ð?овоÑ?Ñ?и оÑ?Ñ?аÑ?ли" 
xmlUrl="http://forums.software-testing.ru/rss.php?forum=31"; type="rss" 
filename="QA.xml" store_images="1" today="0" lastModified="Wed, 31 May 2006 
16:03:18 +0400" ETag="" />
                        <outline title="Ð?иблиоÑ?ека" 
xmlUrl="http://forums.software-testing.ru/rss.php?forum=88"; type="rss" 
filename="CQA1.xml" store_images="1" today="0" lastModified="Wed, 31 May 2006 
00:06:44 +0400" ETag="" />
                        <outline title="ФоÑ?Ñ?мÑ?" 
xmlUrl="http://forums.software-testing.ru/rss.php"; type="rss" 
filename="CQA2.xml" store_images="1" today="0" lastModified="Sat, 27 May 2006 
16:53:20 +0400" ETag="" />
                <outline title="BEELINE">
                        <outline title="Ð?овоÑ?Ñ?и и акÑ?ии Beeline" 
xmlUrl="http://bee.co.ua/index.php?act=rssout&amp;id=1"; type="rss" 
filename="Beeline.xml" store_images="1" today="0" lastModified="" ETag="" />
                        <outline title="УÑ?лÑ?ги Beeline" 
xmlUrl="http://bee.co.ua/index.php?act=rssout&amp;id=3"; type="rss" 
filename="Beeline1.xml" store_images="1" lastModified="" ETag="" />
                        <outline title="ТаÑ?иÑ?Ñ? Beeline" 
xmlUrl="http://bee.co.ua/index.php?act=rssout&amp;id=2"; type="rss" 
filename="Beeline2.xml" store_images="1" lastModified="" ETag="" />
                        <outline title="Реклама и Ñ?азвиÑ?ие 
Beeline" xmlUrl="http://bee.co.ua/index.php?act=rssout&amp;id=5"; type="rss" 
filename="Beeline3.xml" store_images="1" lastModified="" ETag="" />
                <outline title="4PDA.ru">
                        <outline title="4pda.ru :: новоÑ?Ñ?и Ñ?оÑ?Ñ?ма 
Ð?Ð?Ð?" xmlUrl="http://4pda.ru/forum/4pda.php?max=100&amp;show=6"; type="rss" 
filename="4pdaru.xml" store_images="1" today="0" lastModified="" ETag="" 
userName="aquila" password="4pda" />
                        <outline title="4pda.ru :: новоÑ?Ñ?и 
мобилÑ?ного миÑ?а" xmlUrl="http://www.4pda.ru/news/4pda.rss"; 
type="rss" filename="httpwww4pdaru.xml" store_images="1" cacheHTML="1" 
today="0" lastModified="Fri, 26 May 2006 23:02:48 GMT" 
ETag="&quot;2052560-6e12-f7a27600&quot;" />
                <outline title="LADOSHKI.com">
                        <outline title="Ð?Ð?Ð?Ð?ШÐ?Ð?.com: Ð?овоÑ?Ñ?и за 
7 дней" xmlUrl="http://www.ladoshki.com/rss/news.rss"; type="rss" 
filename="com7.xml" store_images="1" today="0" lastModified="Wed, 31 May 2006 
12:55:03 GMT" ETag="&quot;85a665-d648-447d9227&quot;" />
                        <outline title="Ð?Ð?Ð?Ð?ШÐ?Ð?.com: ТоваÑ?Ñ? за 
14 дней" xmlUrl="http://www.ladoshki.com/rss/shop.rss"; type="rss" 
filename="com14.xml" store_images="1" today="0" lastModified="Fri, 19 May 2006 
21:05:04 GMT" ETag="&quot;85a584-154e0-446e3300&quot;" />
                        <outline title="Ð?а «Ð?адоÑ?каÑ?»" 
xmlUrl="http://forum.ladoshki.com/rss2.php"; type="rss" filename="Feed3.xml" 
store_images="1" today="0" lastModified="Sat, 27 May 2006 14:28:45 GMT" ETag="" 
                <outline title="mobile">
                        <outline title="HPC.ru Ð?овоÑ?Ñ?и" 
xmlUrl="http://www.hpc.ru/exp/hpcru_news.rss"; type="rss" filename="HPCru.xml" 
store_images="1" cacheHTML="1" today="0" cacheEnclosures="1" lastModified="Fri, 
26 May 2006 14:20:33 GMT" ETag="&quot;13c7c7-455a-44770eb1-windows-1251&quot;" 
                        <outline title="MOBI" 
xmlUrl="http://www.mobimag.ru/rss.php?what=last20"; type="rss" 
filename="MOBI.xml" store_images="1" cacheHTML="1" today="0" 
cacheEnclosures="1" lastModified="Sat, 27 May 2006 15:08:35 GMT" ETag="" />
                        <outline title="Ð?абила" 
xmlUrl="http://news.mabila.ua/export.rss"; type="rss" filename="Feed2.xml" 
store_images="1" cacheHTML="1" today="0" cacheEnclosures="1" lastModified="Sat, 
27 May 2006 15:10:01 GMT" ETag="&quot;7e774a-2c69-44786bc9&quot;" />
                        <outline title="Pocket PC Thoughts" 
xmlUrl="http://www.pocketpcthoughts.com/xml/"; type="rss" 
filename="PocketPCThoughts.xml" store_images="1" cacheHTML="1" today="0" 
lastModified="" ETag="" />
                        <outline title="msmobiles.com" 
xmlUrl="http://xml.msmobiles.com/"; type="rss" filename="msmobilescom.xml" 
store_images="1" cacheHTML="1" today="0" lastModified="" ETag="" />
                        <outline title="Handy.Ru" 
xmlUrl="http://handy.ru/export/rss2.xml"; type="rss" filename="HandyRu.xml" 
store_images="1" cacheHTML="1" today="0" lastModified="Sat, 27 May 2006 
15:15:05 GMT" ETag="&quot;7864b1-383b-44786cf9&quot;" />
                <outline title="news">
                        <outline title="УкÑ?аÑ?нÑ?Ñ?ка Ð?Ñ?авда" 
xmlUrl="http://pravda.com.ua/export.xml"; type="rss" filename="Feed1.xml" 
store_images="1" cacheHTML="1" today="0" lastModified="" ETag="" />
                        <outline title="Korrespondent.Net - 
УкÑ?аинÑ?каÑ? Ñ?еÑ?Ñ? новоÑ?Ñ?ей" 
xmlUrl="http://wwu.korrespondent.net/korr.xml"; type="rss" 
filename="KorrespondentNet.xml" store_images="1" cacheHTML="1" today="0" 
lastModified="Sat, 27 May 2006 15:20:01 GMT" 
ETag="&quot;16f2b82-3035-44786e21&quot;" />
                        <outline title="Ð?овоÑ?Ñ?и 
Ð?непÑ?опеÑ?Ñ?овÑ?ка" xmlUrl="http://gorod.dp.ua/export/rss.php"; 
type="rss" filename="Feed.xml" store_images="1" cacheHTML="1" today="0" 
lastModified="Fri, 26 May 2006 21:00:00 +0000" 
ETag="883241ce5242a3bfd2b2b968837dec41" />
                        <outline title="Maidan: Latest News" 
xmlUrl="http://maidanua.org/includes/news.xml"; type="rss" 
filename="MaidanLatestNews.xml" store_images="1" cacheHTML="1" today="0" 
lastModified="Wed, 31 May 2006 17:30:06 GMT" 
ETag="&quot;617626-53f6-e7036380&quot;" />
                        <outline title="Maidan: Latest Articles" 
xmlUrl="http://maidanua.org/includes/mai.xml"; type="rss" 
filename="MaidanLatestArticles.xml" store_images="1" cacheHTML="1" 
lastModified="Wed, 24 May 2006 17:00:13 GMT" 
ETag="&quot;617627-f65-ab40c140&quot;" />
                        <outline title="Ð?азеÑ?а.Ru - Ð?вÑ?оÑ?Ñ?кие 
колонки" xmlUrl="http://www.gazeta.ru/export/rss/kolonka.xml"; type="rss" 
filename="Ru1.xml" store_images="1" cacheHTML="1" lastModified="Wed, 24 May 
2006 18:00:12 GMT" ETag="&quot;a39958-1c2d-44749f2c-windows-1251&quot;" />

Other related posts: