Closed Bug 346361 Opened 18 years ago Closed 18 years ago

Huge Memory hole

Categories

(Thunderbird :: General, defect)

x86
Windows Server 2003
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Nuckerl.Stefan, Assigned: Bienvenu)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5

Thunderbird allocates about 500MB RAM in 30min.

Reproducible: Always

Steps to Reproduce:
1.Start Thunderbird
2.Wait some time
3.Check Taskmanager, Thunderbird allocates 500MB and more. From time to time it gets swapped out.




The only extension I have installed is enigmail and talkback. I'm using winmail theme. I haven't noticed this problem prior to Thunderbird 1.5.0.4, but I could be wrong.
I see this too - a couple minutes after startup, TB opens all the .msf files (and local mailboxes) and leaves them open. I have not seen this with my debug builds - only release builds.
Assignee: mscott → bienvenu
Status: UNCONFIRMED → NEW
Ever confirmed: true
this could be specific to the 2.0 branch (or we could be seeing a different problem). Do you have Google Desktop Search installed?
turning off GDS fixed this for me...
No I don't have google Desktop Search installed or any other Search Engine. I also excluded the thunderbird directory in my virus scanner. I just had tb open for about 2 1/2 h and then suddenly Windows told me my virtual memory is low. tb sucked up about 1,8GB of memory. I'm sure I would have noticed this earlier, so I'm pretty sure this bug has been introduced in 1.5.0.4.
Not sure if this is related, but in one of my inboxes thunderbird tells me I have 1 654 353 Mails, which I don't think is correct:-)

Then after some minutes suddenly it says I got five thousand more mails which of course is nonsense.
Attached image SCreenshot of Thunderbird (deleted) β€”
SCreenshot shows incorrect number of mails, that increases within minutes.
Stefan, you need to shutdown TB, delete your Inbox.msf file and restart TB in order to get the count problem to stop...or run TB 2.0 Alpha 1...
Yeah you are right, that fixed the count problem and obviously also the memory problem, thunderbird now consumes only about 38MB of RAM.
(In reply to comment #3)
> turning off GDS fixed this for me...

GDS is Google ?


where to dupe this to?
Version: unspecified → 1.5
GDS is Google Desktop Search
Will try disabling it and testing again in TB 1.5.0.9

I have a video showing TB eating up memory here:
http://video.google.com/videoplay?docid=-7967226264260436754&hl=en

The post is here:
http://forums.mozillazine.org/viewtopic.php?p=2630215#2630215
Vitaliy, did you determine the cause to be Norton AV?


Oliversl, did you get good result disabling Google Desktop Search ?
I disabled Norton AV completely, but TB eating memory anyway.
After start - 43Mb.
After 3 hours of use - 362 Mb.
One more note: 
in the top right corner I see that dots in the circle are always running.
Finally I found and removed the reason of memory leaks.
I had several RSS channels. Each channel - 50-100 messages every day.

I removed RSS channels and removed RSS account at all.

Now my TB stay in range 25-30 Mb all the time.

Hope, my experience will be useful ;-)
I concur with comment #15 above.  I whacked all of my RSS channels.  Since then, TB memory usage hasn't gone above 36MB.  The memory leak appears to be related to RSS handling.
(In reply to comment #8)
> Yeah you are right, that fixed the count problem and obviously also the memory
> problem, thunderbird now consumes only about 38MB of RAM.

Nuckerl seems to be gone, so closing this WFM based on comment 7 and comment 8.  Issues related to RSS might better be directed to an RSS bug.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Patrick if you don't find a better bug, suggest you reopen your original Bug 364939, is it apparently wasn't a duplicate after all.
(In reply to comment #16)
> I concur with comment #15 above.  I whacked all of my RSS channels.  Since
> then, TB memory usage hasn't gone above 36MB.  The memory leak appears to be
> related to RSS handling.
> 

I don't think is RSS related but instead is "folder with thousand emails" related.

I start TB and configured to do not check any account. It stays 20/25 (20MB ram/25MB swap).
I have 3 IMAP account, and 4 RSS account.

I do a check email only in the first IMAP account where I have folders with 70000+ emails. Checking only that account makes TB rocket from 20/25 to 50/107. And in the process of checking mail, TB reach 120/170. I have to minimize and later restore the window in order to free some memory.

It would be nice if anyone can run a memory usage tool on TB, maybe with a TB build with debug enabled.

All my tests are in WinXP SP2

HTH
Oliver
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: