Closed
Bug 35663
Opened 25 years ago
Closed 24 years ago
Severe memory bloat using Linux mail
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: trudelle, Assigned: scottputterman)
Details
(Keywords: memory-footprint)
I just noticed that merely launching mail, opening my IMAP inbox, and
reading one small text message results in 173 MB of memory allocation on
Linux. It grows very rapidly from there. Opening a few more messages
adds another 30 MB, opening a newsgroup, a bug and this message
composition window adds another 55 MB. Sitting idle for an hour brought the
total memory usage to 313 MB. This seems sub-optimal.
Comment 2•25 years ago
|
||
Adding to PDT+ radar. This much memory utilization will stop a lot of folks
from being able to use the product as dogfood. If it is hard to reproduce, then
we might remove the PDT+, but we need more input before we'd ignore such a
bloat/leak.
Whiteboard: [PDT+]
Reporter | ||
Comment 3•25 years ago
|
||
I have been able to consistently reproduce this (currently at 469MB), and my
machine is available if needed.
Comment 4•25 years ago
|
||
Seth, are you the right person to take a first look at this Linux problem?
Assignee: selmer → sspitzer
Comment 5•25 years ago
|
||
adding alecf and bruce to the cc list.
Comment 6•25 years ago
|
||
I doubt that this is Linux only. Can anyone verify?
Reporter | ||
Comment 7•25 years ago
|
||
I also see bloat on the other platforms I use, Mac OS 8.6 and Win98, but Linux
is far worse. For instance, on Mac, I can launch and view a mail message using
a 'mere' 26 MB.
Update on Win NT: When I launched just mail, opened my inbox and read a Mail it
comsumes 40 MB memory. When I open browser to update this bug it comsumes 10 MB
more (or totally 50 MB) .
Comment 10•25 years ago
|
||
It has been about 8 days as dogfood without any update... is there any progress?
Any ideas?
Thanks,
Jim
Comment 11•25 years ago
|
||
no, I still haven't investigated.
adding other x-heads to the list, to see if they see this bad bloat.
Comment 12•25 years ago
|
||
passing the buck to alecf. I'm not going to get to this any time soon.
Assignee: sspitzer → alecf
Comment 13•25 years ago
|
||
I will try to look at this on wednesday. I'm wondering if biff is leaking or
something
Status: NEW → ASSIGNED
Whiteboard: [dogfood+] → [dogfood+] 5/4
Target Milestone: --- → M16
Comment 14•25 years ago
|
||
Mass moving M16 to M17 - look for nsbeta2 before anything else.
Target Milestone: M16 → M17
Reporter | ||
Comment 15•25 years ago
|
||
I don't understand your comment Steve, I thought PDT considered dogfood+ to be
even higher priority than nsbeta2+.
Comment 16•25 years ago
|
||
You're right. Luckily, our dogfood+ bug list is very short. So what I should
have said was:
Look for dogfood+ and nsbeta2+ bugs before anything else.
Comment 17•25 years ago
|
||
I really don't know what I'm supposed to do about this.
I'm trying some of the XPCOM bloat stuff now but I still haven't seen anything
get this big on linux in a while.
Comment 18•25 years ago
|
||
ok, I just spent some time with bloaty, and the best I can figure is that we're
leaking nsMsgHdr objects... but they aren't THAT big and after poring over
messages my process is not getting any bigger than about 55 megs on a 2000
message folder.
Since this is hard to reproduce, I'm removing the dogfood+ for re-evaluation.
Whiteboard: [dogfood+] 5/4
Comment 20•25 years ago
|
||
I'll send this around the group to see if reproducible. I will also ask in the
irc #qa channel.
Comment 21•25 years ago
|
||
Have bug 34871 fixed yet? I know I was still removing the following file for
workaround on Linux... I did notice if I don't use the following workaround, it
will perform abnormal.....I am still investigating ......
package/defaults/pref/config-ns.js
Comment 22•25 years ago
|
||
bug http://bugzilla.mozilla.org/show_bug.cgi?id=40020 needs to be fixed for
memory issues as well.
Comment 23•25 years ago
|
||
I saw bug 40020 problem...but haven't see such serious memory problem yet....
Comment 24•25 years ago
|
||
Comment 25•25 years ago
|
||
So, what's this bug problem???...I still cannot reproduce this problem....
Reporter | ||
Comment 26•25 years ago
|
||
Problem is the same as originally described, I can still reproduce using the
latest build, which currently has 581 MB RAM allocated. Machine remains
available for anyone to reproduce.
Comment 27•25 years ago
|
||
Here's the bloatblame for a 662 message folder:
http://www.maubi.net/mozilla/bloat/2000-06-02-mail-fun.html.gz
http://www.maubi.net/mozilla/bloat/2000-06-02-mail-mod.html.gz
Sadly, I only get about 33Mb of bloat, so maybe somebody oughtta try running
--trace-malloc on trudelle's machine.
Comment 28•25 years ago
|
||
Both of those URLs were 403 forbidden.
Comment 29•25 years ago
|
||
fucking umask. try again.
Comment 30•25 years ago
|
||
Following is what I got from today's 06-05-08-M16 Linux commercial build:
1) For reading a mail message read
Mem: 128092K av, 118056K used, 10036K free
2) For reading more messages:
Mem: 128092K av, 119432K used, 8660K free
3) For reading newsgroup messages:
Mem: 128092K av, 120220K used, 7872K free
4) For idle 1 hour after above scenarios:
Mem: 128092K av, 120368K used, 7724K free
Comment 31•25 years ago
|
||
http://bugzilla.mozilla.org/show_bug.cgi?id=40673 may be related to this.
Comment 32•25 years ago
|
||
Peter - do you have this problem if you switch to the alternate 3-pane
configuration in prefs (where you only show the mail folders, thread pane,
message pane) and the sidebar is hidden?
Comment 33•25 years ago
|
||
somehow I have a feeling this is something very specific to peter's personal
data (prefs, specific mail messages, etc) so we need to actually look at his
machine :(
Reporter | ||
Comment 34•25 years ago
|
||
I could try a fresh profile, but I'm at home today and have never been able to
use eXceed to get an X session on any machine.
Reporter | ||
Comment 35•25 years ago
|
||
Okay, got it. Using a fresh profile, with my personal IMAP account, with 263
messages in the Inbox, loading the inbox, plus one 5K message uses a total of
268,000K, regardless of sidebar state, according to gtop's Resident Sizes of
Processes pane. Adding the default start page adds 170,000K. Could gtop be
screwed up? Other possibly salient facts are that this is a dual-processor
box with 512MB RAM, shared by my team.
Comment 36•25 years ago
|
||
wait, this is on exceed? that might have something to do with it..
Reporter | ||
Comment 37•25 years ago
|
||
This last run was my first on eXceed, all the others were run purely local.
Assignee | ||
Comment 38•25 years ago
|
||
moving to M18 and marking nsbeta3
Keywords: nsbeta3
Target Milestone: M17 → M18
Comment 39•25 years ago
|
||
peter, can you try this out with a 7/27 build or later? I just checked some
stuff in that should reduce bloat in the thread pane.
Reporter | ||
Comment 40•25 years ago
|
||
Using today's M18 opt verification bits:
./netscape -mail -> Select User Profile appears 94,640K
Start Mozilla -> 3pane appears 180,040K
Select Inbox -> IMAP password dialog appears 221,312K
Enter password, click okay -> Inbox loads 249,408K
Select a small, text message 257,376K
Select an HTML message (Wired News) 283,136K
Open nav window (my.netscape.com) 336,000K (and continues to
grow at a rate of 5-6 MB per minute.)
Keywords: footprint
Assignee | ||
Comment 42•25 years ago
|
||
Mail triage marking [nsbeta3-].
Whiteboard: [dogfood-] → [dogfood-][nsbeta3-]
Comment 44•24 years ago
|
||
reassign to putterman for further investigation
Assignee: alecf → putterman
Status: ASSIGNED → NEW
Comment 45•24 years ago
|
||
> Could gtop be screwed up?
I could be wrong but I think gtop gives vastly inflated numbers for processes
that use lots of threads.
To total on the "Resident Sizes of Processes" page is the sum of the sizes for
each thread. That means that if you have 10 threads sharing the same memory, the
reported size is 10 times bigger than what is really being used.
I gtop it routinely reports memory usage larger than my memory and swap space
combined, even when my system shows no signs of memory distress.
Updated•24 years ago
|
QA Contact: lchiang → esther
Updated•24 years ago
|
Updated•24 years ago
|
Keywords: nsdogfood-
Comment 46•24 years ago
|
||
Can this be closed now that the outliner branch has landed?
Keywords: nsbeta3
Whiteboard: [dogfood-][nsbeta3-]
Reporter | ||
Comment 47•24 years ago
|
||
The problem described no longer occurs in current builds. GTop and Top both
seem to report the same memory usage multiple times, but even accounting for
that, there was a severe problem here.
Comment 48•24 years ago
|
||
removing the RDF data soure & content model reduced our memory useage
significantly. marking fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified. (outliner did the trick, silly RDF :-)
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•