Closed
Bug 86561
Opened 23 years ago
Closed 23 years ago
big leaks loading nsPresShell.cpp in lxr in two windows
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: dprice, Assigned: dprice)
References
()
Details
Attachments
(3 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
1 set XPCOM_MEM_LEAK_LOG=filename
2 start mozilla and go to
http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsPresShell.cpp
3 when the first page finishes loading, CTRL-N to open a new window
4 in the new window, go to
http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsPresShell.cpp again
5 exit
6 check out the log file
If you exit after loading the page once, the total leakage is 6K Follow all the
steps and the total leakage is 7.3 megs If you open the new window before the
first page finishes loading, you can cut the total leakage down to 3.7 megs.
according to the leak log, the major offenders are:
HTMLAttribute 734944 Bytes
HTMLAttributesImpl 1872480 Bytes
nsClassList 249688 Bytes
nsGenericElement 1222656 Bytes
nsTextNode 3276720 Bytes
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Assignee | ||
Comment 5•23 years ago
|
||
it could be. I'll apply the patch from that bug and see what happens to this one.
Comment 6•23 years ago
|
||
Comments on that bug say the existing patch on the bug doesn't fix the leak.
Assignee | ||
Comment 7•23 years ago
|
||
the leak is gone, looks like this is a dup of 84136
*** This bug has been marked as a duplicate of 84136 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•