[meta] Zombie Compartments! They stay alive after their tab has closed
Categories
(Core Graveyard :: Tracking, defect)
Tracking
(Not tracked)
People
(Reporter: justin.lebar+bug, Unassigned)
References
()
Details
(Keywords: memory-leak, meta, Whiteboard: [see comment 43 and 60])
Attachments
(2 files, 1 obsolete file)
Reporter | ||
Comment 1•14 years ago
|
||
Reporter | ||
Updated•14 years ago
|
Comment 2•14 years ago
|
||
Reporter | ||
Comment 3•14 years ago
|
||
Comment 4•14 years ago
|
||
Reporter | ||
Comment 5•14 years ago
|
||
Comment 6•14 years ago
|
||
Reporter | ||
Comment 7•14 years ago
|
||
Reporter | ||
Comment 8•14 years ago
|
||
Comment 9•14 years ago
|
||
Comment 10•14 years ago
|
||
Reporter | ||
Comment 11•14 years ago
|
||
Comment 12•14 years ago
|
||
Reporter | ||
Comment 13•14 years ago
|
||
![]() |
||
Comment 14•14 years ago
|
||
Comment 15•14 years ago
|
||
Reporter | ||
Comment 16•14 years ago
|
||
Reporter | ||
Comment 17•14 years ago
|
||
Comment 18•14 years ago
|
||
Comment 19•14 years ago
|
||
Comment 20•14 years ago
|
||
Comment 21•14 years ago
|
||
Comment 22•14 years ago
|
||
![]() |
||
Comment 23•14 years ago
|
||
![]() |
||
Comment 24•14 years ago
|
||
![]() |
||
Comment 25•14 years ago
|
||
Comment 26•14 years ago
|
||
Comment 27•14 years ago
|
||
Comment 28•14 years ago
|
||
Comment 29•14 years ago
|
||
Reporter | ||
Updated•14 years ago
|
Comment 30•14 years ago
|
||
Reporter | ||
Comment 31•14 years ago
|
||
Reporter | ||
Comment 32•14 years ago
|
||
![]() |
||
Comment 33•14 years ago
|
||
Updated•14 years ago
|
![]() |
||
Comment 34•14 years ago
|
||
![]() |
||
Updated•14 years ago
|
![]() |
||
Updated•14 years ago
|
![]() |
||
Updated•14 years ago
|
Comment 35•14 years ago
|
||
Comment 36•14 years ago
|
||
Comment 38•14 years ago
|
||
Reporter | ||
Comment 39•14 years ago
|
||
Comment 41•14 years ago
|
||
![]() |
||
Comment 42•14 years ago
|
||
Updated•14 years ago
|
![]() |
||
Comment 43•14 years ago
|
||
![]() |
||
Comment 44•14 years ago
|
||
Comment 45•14 years ago
|
||
Comment 46•14 years ago
|
||
![]() |
||
Updated•14 years ago
|
Updated•14 years ago
|
Updated•14 years ago
|
Comment 48•14 years ago
|
||
![]() |
||
Comment 49•14 years ago
|
||
![]() |
||
Comment 50•14 years ago
|
||
Comment 51•14 years ago
|
||
![]() |
||
Comment 52•14 years ago
|
||
Comment 53•14 years ago
|
||
Comment 54•14 years ago
|
||
Comment 55•14 years ago
|
||
Comment 56•14 years ago
|
||
Reporter | ||
Comment 57•14 years ago
|
||
Comment 58•14 years ago
|
||
![]() |
||
Comment 59•14 years ago
|
||
![]() |
||
Comment 60•14 years ago
|
||
![]() |
||
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Assignee | ||
Updated•9 years ago
|
Comment 62•6 years ago
|
||
Using Waterfox and looking at verbose about:memory after less than half an hour.
512,570,388 B (100.0%) -- explicit
├──253,072,362 B (49.37%) -- js
...
│ ├───41,909,422 B (08.18%) -- compartment(https://mail.google.com/mail/?ui=2&shva=1#inbox)
│ │ ├──17,813,504 B (03.48%) -- gc-heap
│ │ │ ├───7,821,568 B (01.53%) -- objects
│ │ │ ├───4,043,584 B (00.79%) -- shapes
│ │ │ ├───3,432,960 B (00.67%) -- scripts
│ │ │ ├─────868,992 B (00.17%) -- type-objects
│ │ │ ├─────776,160 B (00.15%) -- arena-unused
│ │ │ ├─────525,408 B (00.10%) -- strings
│ │ │ ├─────205,664 B (00.04%) -- arena-padding
│ │ │ └─────139,168 B (00.03%) -- arena-headers
│ │ ├───8,727,928 B (01.70%) -- analysis-temporary
│ │ ├───4,309,376 B (00.84%) -- script-data
│ │ ├───3,670,016 B (00.72%) -- mjit-code
│ │ │ ├──3,453,256 B (00.67%) -- method
│ │ │ ├────206,040 B (00.04%) -- regexp
│ │ │ └─────10,720 B (00.00%) -- unused
│ │ ├───2,342,184 B (00.46%) -- type-inference
│ │ │ ├──1,732,544 B (00.34%) -- object-main
│ │ │ ├────511,944 B (00.10%) -- script-main
│ │ │ └─────97,696 B (00.02%) -- tables
│ │ ├───2,233,376 B (00.44%) -- property-tables
│ │ ├───1,609,984 B (00.31%) -- object-slots
│ │ ├─────405,536 B (00.08%) -- mjit-data
│ │ ├─────344,142 B (00.07%) -- string-chars
│ │ ├─────304,960 B (00.06%) -- shape-kids
│ │ └─────148,416 B (00.03%) -- object-empty-shapes
│ ├───22,158,984 B (04.32%) -- gc-heap-chunk-dirty-unused
...
│ ├────3,069,344 B (00.60%) -- compartment(about:blank)
│ │ ├──2,801,664 B (00.55%) -- gc-heap
│ │ │ ├────991,272 B (00.19%) -- arena-unused [26]
│ │ │ ├────898,120 B (00.18%) -- objects [26]
│ │ │ ├────820,352 B (00.16%) -- shapes [26]
│ │ │ ├─────38,544 B (00.01%) -- arena-padding [26]
│ │ │ ├─────26,304 B (00.01%) -- type-objects [26]
│ │ │ ├─────21,888 B (00.00%) -- arena-headers [26]
│ │ │ └──────5,184 B (00.00%) -- scripts [26]
│ │ ├────135,072 B (00.03%) -- object-slots [26]
│ │ ├─────62,176 B (00.01%) -- property-tables [26]
│ │ ├─────26,304 B (00.01%) -- type-inference
│ │ │ └──26,304 B (00.01%) -- object-main [26]
│ │ ├─────22,752 B (00.00%) -- shape-kids [26]
│ │ ├─────20,544 B (00.00%) -- object-empty-shapes [26]
│ │ └────────832 B (00.00%) -- analysis-temporary [26]
├───29,264,326 B (05.71%) -- layout
...
│ ├───2,853,328 B (00.56%) -- shell(about:blank)
│ │ ├──2,379,632 B (00.46%) -- styledata [28]
│ │ └────473,696 B (00.09%) -- arenas [28]
│ ├───1,856,936 B (00.36%) -- shell(https://ggnewbie.com/)
│ │ ├──1,053,536 B (00.21%) -- arenas
│ │ └────803,400 B (00.16%) -- styledata
How is it an about:blank page is using more memory than the majority of other fully featured pages? Gmail seems to be using a lot of memory for 30mins and 1 sent email.
![]() |
||
Comment 63•6 years ago
|
||
How is it an about:blank page is using more memory than the majority of other fully featured pages?
Because the site stuck a bunch of stuff into its DOM, presumably. Just because the URL is about:blank tells you nothing about what elements are in there.
![]() |
||
Comment 64•6 years ago
|
||
The "[26]" annotation indicates that there are 26 occurrences of all those measurements. So there are 26 about:blank compartments, and their measurements get merged in about:memory.
Also, this bug is old and closed. If you are experiencing a problem please file a new bug.
Description
•