Closed
Bug 822162
Opened 11 years ago
Closed 11 years ago
about:blank leaked for every new popup
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Hughman, Assigned: mccr8)
References
Details
(Whiteboard: [MemShrink:P1])
Attachments
(1 file)
346 bytes,
text/html
|
Details |
It seems that a popup window (not one which pops-up into a new tab) will always leak a whole set of about:blank reporters. Steps 1. Open the testcase I have attached. 2. Click on one of the links to popup a window (both links use slightly different methods, does not change the problem). 3. Close popup window. 4. Repeat 2-3 a number of times. 5. View about:memory to see leak. Results in about:memory showing the following after opening and closing the popup ~16 times. 94.70 MB (100.0%) -- explicit ├──34.43 MB (36.36%) -- window-objects │ ├──27.81 MB (29.37%) -- top(none)/detached/window([system]) │ │ ├──27.80 MB (29.35%) -- js/compartment([System Principal], about:blank) │ │ │ ├──13.46 MB (14.22%) -- gc-heap │ │ │ │ ├───4.01 MB (04.23%) ── scripts [16] │ │ │ │ ├───3.37 MB (03.56%) -- objects │ │ │ │ │ ├──2.54 MB (02.68%) ── function [16] │ │ │ │ │ └──0.83 MB (00.88%) ── ordinary [16] │ │ │ │ ├───3.34 MB (03.52%) ── unused-gc-things [16] │ │ │ │ ├───2.55 MB (02.69%) -- shapes │ │ │ │ │ ├──1.35 MB (01.43%) -- tree │ │ │ │ │ │ ├──1.16 MB (01.22%) ── global-parented [16] │ │ │ │ │ │ └──0.20 MB (00.21%) ── non-global-parented [16] │ │ │ │ │ └──1.19 MB (01.26%) -- (2 tiny) │ │ │ │ │ ├──0.67 MB (00.71%) ── base [16] │ │ │ │ │ └──0.52 MB (00.55%) ── dict [16] │ │ │ │ └───0.20 MB (00.21%) ── sundries [16] │ │ │ ├──11.14 MB (11.76%) ── script-data [16] │ │ │ ├───2.30 MB (02.43%) -- shapes-extra │ │ │ │ ├──1.16 MB (01.22%) ── compartment-tables [16] │ │ │ │ └──1.14 MB (01.21%) -- (3 tiny) │ │ │ │ ├──0.64 MB (00.67%) ── tree-tables [16] │ │ │ │ ├──0.29 MB (00.31%) ── tree-shape-kids [16] │ │ │ │ └──0.22 MB (00.23%) ── dict-tables [16] │ │ │ └───0.90 MB (00.95%) -- (3 tiny) │ │ │ ├──0.65 MB (00.68%) ── objects-extra/slots [16] │ │ │ ├──0.13 MB (00.13%) ── other-sundries [16] │ │ │ └──0.13 MB (00.13%) ── cross-compartment-wrapper-table [16] │ │ └───0.01 MB (00.02%) ── dom/other [32] I came across this when testing a project my team has been doing and in that case I saw ~30 leaked about:blank using ~150MB RAM so it must contain some of the page contents also.
Reporter | ||
Updated•11 years ago
|
Attachment #692824 -
Attachment mime type: text/plain → text/html
Reporter | ||
Comment 1•11 years ago
|
||
I found it in Aurora 19 but have also tested Firefox 17 and got same results.
Reporter | ||
Updated•11 years ago
|
Whiteboard: [MemShrink]
Comment 2•11 years ago
|
||
Reproducible intermittently on Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:21.0) Gecko/20130109 Firefox/21.0.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•11 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P1]
Updated•11 years ago
|
Assignee: nobody → continuation
Comment 3•11 years ago
|
||
mccr8: any progress here?
Assignee | ||
Comment 4•11 years ago
|
||
No, sorry, I'll look at it next week.
Comment 5•11 years ago
|
||
Wee! Next week whooshed by, as did the week after, and the week after, and the week after that...
Assignee | ||
Comment 6•11 years ago
|
||
Yeah, I've been juggling two big projects, which has not ended well for anything else on my plate.
Assignee | ||
Comment 7•11 years ago
|
||
I haven't been able to reproduce this on OSX in a debug build yet. The windows go away as expected. I'll try some more.
Reporter | ||
Comment 8•11 years ago
|
||
I just did a test using my testcase in the other day's 23.0a1 and found that the about:blanks are now being cleaned up after 15-30 seconds. Maybe those new zones have sort of removed the problem?
Comment 9•11 years ago
|
||
I also can't reproduce on a trunk build on Linux64. I think we can declare victory here.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•