Closed Bug 196628 Opened 23 years ago Closed 17 years ago

major mailnews leakage regressions

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dmosedale, Unassigned)

References

()

Details

(Keywords: memory-leak, regression)

Transcript of a short IRC discussion I had with brendan: <brendan> i see RSS jump by dozens of meg within the first few minutes of using POP, getting messages, switching to my bugccs folder, junking mail <brendan> i'm at 98M RSS now <dmose> i'm not sure what that really indicates, given that any pages that are already classified will be marked dirty and tossed if they're needed * dmose looks at the mailnews test tinderbox <brendan> i hear intense disk rattling (ibm thinkpad, noisy) when i switch folders <brendan> i believe it's a leak <dmose> could be <brendan> if i keep doing normal stuff, i easily get past 256M SIZE <brendan> i should reach steady state if JS needs to GC, or whatever <brendan> it just keeps growing <brendan> vm starts thrashing I went and looked at the mailnews leak graphs, and we've been steadily getting leakier over the past 250 days. I suspect those graphs just show mailnews startup & shutdown leaks (mcafee, can you confirm that this is the case). If so, that means they're probably only a small part of the issues that brendan is seeing. So we probably need to go investigate all the various upticks in that graph and see if we can track down what happened. Additionally we need to figure out how leaky the 1.3 branch is, and decide how much, if any, of this problem we need to fix before 1.3 ships. A few runs with the leak tools / valgrind / purify may also be instructive.
Note that the URL field of this bug has a link to the relevant chunk of the leakage graph for the lhasa tinderbox.
Flags: blocking1.4a+
Flags: blocking1.3?
Bug 196624 is a recent mail composition leak regression (post 1.3).
dmose, anyone: any correlation of the leak graph spike with a checkin yet? /be
Flags: blocking1.3? → blocking1.3+
about major leakage, see bug #195163. about the disk rattling, there's an issue with us calling Flush() too often for local folders. (This regressed, something along the lines of we used to call flush() after a batch, but now we call on ever message.) also note that junk mail controls have also been enabled by default. and there could be leaks in that code, as well.
Keywords: regression
Flags: blocking1.3+ → blocking1.3-
Flags: blocking1.4a+ → blocking1.4a-
I don't see nsImapProtocol's destructor being called upon shutdown.
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Chances are good that this still applies to Thunderbird, and it's the premier mail app these days.
Component: MailNews: Main Mail Window → General
Flags: blocking1.4a-
Flags: blocking1.3-
Product: Mozilla Application Suite → Thunderbird
QA Contact: esther → general
Whether or not we still have any of the same leaks we had in 2003, the odds of someone identifying one to the level of being able to usefully do something about it, and then determining that it had been around since before 2003, but had been added in the last half of 2002, and then deciding to use this bug for it, rather than just filing a new one with their patch, are infinitesimal. Had someone related jumps in the graph to checkins while the graph still existed, maybe it would still be useful, but "mailnews leaks increased in the 250 days before March 2003" just isn't going anywhere.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.