Closed Bug 263573 Opened 20 years ago Closed 20 years ago

memory leak when checking rss feeds

Categories

(MailNews Core :: Feed Reader, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: michael.gelfand, Assigned: mscott)

Details

(Keywords: helpwanted)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10

I have about 10 rss feeds and I can see a significant memory leak every time
that rss feeds are updated (and not read maybe) - for about 2 mb per check

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Thunderbird 0.8 (20040913)
Steps to Reproduce:
1. Create new profile
2. Add new RSS feed, for example for http://planet.mozilla.org/rss10.xml
3. Press several times on "get new mail"
after each "get new mail" memory usage grows up. When feed is rechecked many
times (100+) memory leak is significant.
I am seeing this also, Thunderbird 0.8 20041005. I have Thunderbird configured
to auto-check RSS feeds every 10 mins (I use local feeds). Over the course of a
few hours, Thunderbird's memory usage grows exorbitantly. I was seeing no such
behavior prior to the addition of the RSS functionality. 
My platform is Windows XP SP2.
Summary: memory leak → memory leak when checking rss feeds
for .9 consideration
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: helpwanted
Target Milestone: --- → Thunderbird0.9
it's quite possible that this leak was a duplicate of the leak in: Bug #252345
where the xml http request (which our rss module uses) was leaking memory
proportional to the size of the feed document every time we checked the feed for
new mail. 
I'm pretty sure this was a dupe of the leak I already cited. Can one of you guys
try a 0.8 nightly from 10/25 or later and verify that things are better on your
end? 

http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-0.8/
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Yes, its realy get resolved.
Status: RESOLVED → VERIFIED
I still see a leakage of about 2,000 KB each time I check for messages on News &
Blogs. But this is nowhere near as bad as it was before.
[with 20041025] sorry for spammage.
thanks Brian. It's also possible that said 2k gets cleaned up the next time the
garbage collector runs for our JS. 

Glad we fixed the 2 MB part of the leak :)
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
QA Contact: rss
Target Milestone: Thunderbird0.9 → ---
You need to log in before you can comment on or make changes to this bug.