memory leaks when almost all is closed and reclosed

Discussion of bugs in Seamonkey
Michael REMY
Posts: 323
Joined: December 19th, 2009, 2:27 am

Re: memory leaks when almost all is closed and reclosed

Post by Michael REMY »

i felt on another crappy web js script or abused flash.
my cpu went too load so i have to close tab, but the memory was not fill out, it still on 430MB 2 minutes after my tab close .

here the about:memory and please, tell me what the 430MB of memory used for nothing are ?


Main Process
Explicit Allocations

245.02 MB (100.0%) -- explicit
├───69.18 MB (28.24%) -- heap-overhead
│ ├──63.75 MB (26.02%) ── bin-unused
│ ├───3.10 MB (01.27%) ── bookkeeping
│ └───2.33 MB (00.95%) ++ (2 tiny)
├───53.07 MB (21.66%) -- window-objects
│ ├──16.30 MB (06.65%) -- top(about:blank, id=1381)
│ │ ├───8.36 MB (03.41%) -- js-zone(0x16df6c00)
│ │ │ ├──4.44 MB (01.81%) ── unused-gc-things
│ │ │ └──3.92 MB (01.60%) ++ (7 tiny)
│ │ └───7.94 MB (03.24%) -- active
│ │ ├──7.76 MB (03.17%) -- window(http://www.monsite.com)
│ │ │ ├──4.03 MB (01.64%) -- js-compartment(http://www.monsite.com)
│ │ │ │ ├──3.31 MB (01.35%) ++ classes
│ │ │ │ └──0.71 MB (00.29%) ++ (6 tiny)
│ │ │ ├──3.29 MB (01.34%) ── style-sheets
│ │ │ └──0.44 MB (00.18%) ++ (2 tiny)
│ │ └──0.18 MB (00.08%) ++ window(about:blank)
│ ├──14.18 MB (05.79%) ++ top(none)/detached
│ ├──11.89 MB (04.85%) -- top(about:memory, id=2264)
│ │ ├──11.22 MB (04.58%) -- active/window(about:memory)
│ │ │ ├──10.40 MB (04.24%) -- dom
│ │ │ │ ├──10.13 MB (04.14%) ── orphan-nodes
│ │ │ │ └───0.27 MB (00.11%) ++ (5 tiny)
│ │ │ └───0.82 MB (00.34%) ++ (4 tiny)
│ │ └───0.67 MB (00.27%) ++ js-zone(0x16cd3000)
│ ├───4.33 MB (01.77%) -- top(about:blank, id=2231)
│ │ ├──2.68 MB (01.10%) ++ cached/window(www.monsite.com)
│ │ └──1.64 MB (00.67%) ++ (2 tiny)
│ ├───3.35 MB (01.37%) ++ (8 tiny)
│ └───3.02 MB (01.23%) -- top(chrome://navigator/content/navigator.xul, id=749)
│ ├──2.58 MB (01.05%) -- active
│ │ ├──2.46 MB (01.00%) ++ window(chrome://navigator/content/navigator.xul)
│ │ └──0.12 MB (00.05%) ++ window(about:blank)
│ └──0.44 MB (00.18%) ++ js-zone(0x94b8800)
├───40.41 MB (16.49%) -- js-non-window
│ ├──20.35 MB (08.31%) -- runtime
│ │ ├───5.88 MB (02.40%) ── uncompressed-source-cache
│ │ ├───5.03 MB (02.05%) ── script-data
│ │ ├───4.05 MB (01.65%) ── atoms-table
│ │ ├───2.93 MB (01.20%) ++ (9 tiny)
│ │ └───2.45 MB (01.00%) ++ gc
│ ├──17.33 MB (07.07%) -- zones
│ │ ├──12.06 MB (04.92%) ++ zone(0x5613c00)
│ │ ├───3.42 MB (01.40%) -- zone(0x560f400)
│ │ │ ├──2.84 MB (01.16%) ++ strings
│ │ │ └──0.58 MB (00.24%) ++ (5 tiny)
│ │ └───1.85 MB (00.75%) ++ (6 tiny)
│ └───2.73 MB (01.12%) ++ gc-heap
├───28.64 MB (11.69%) ── heap-unclassified
├───27.85 MB (11.37%) -- storage
│ ├──26.37 MB (10.76%) -- sqlite
│ │ ├──11.22 MB (04.58%) ── other
│ │ ├───8.77 MB (03.58%) -- places.sqlite
│ │ │ ├──8.41 MB (03.43%) ── cache-used [4]
│ │ │ └──0.35 MB (00.14%) ++ (2 tiny)
│ │ └───6.38 MB (02.61%) ++ (7 tiny)
│ └───1.48 MB (00.60%) ++ prefix-set
├───11.87 MB (04.84%) ++ (18 tiny)
├────9.88 MB (04.03%) -- network
│ ├──9.72 MB (03.97%) -- cache2
│ │ ├──7.22 MB (02.95%) ── memory-storage(/M)
│ │ └──2.50 MB (01.02%) ++ (6 tiny)
│ └──0.15 MB (00.06%) ++ (2 tiny)
└────4.12 MB (01.68%) -- atom-tables
├──4.09 MB (01.67%) ── main
└──0.03 MB (00.01%) ── static

Other Measurements

89.70 MB (100.0%) -- decommitted
├──88.05 MB (98.15%) -- js-non-window
│ ├──74.05 MB (82.55%) ── gc-heap/decommitted-arenas
│ └──14.00 MB (15.61%) ── runtime/gc/nursery-decommitted
└───1.66 MB (01.85%) -- workers/workers(chrome)/worker(resource://gre/modules/osfile/osfile_async_worker.js, 0xb1c9c00)
├──1.66 MB (01.85%) ── gc-heap/decommitted-arenas
└──0.00 MB (00.00%) ── runtime/gc/nursery-decommitted

1,683 (100.0%) -- event-counts
└──1,683 (100.0%) -- window-objects
├────751 (44.62%) -- top(chrome://navigator/content/navigator.xul, id=749)/active
│ ├──743 (44.15%) -- window(chrome://navigator/content/navigator.xul)/dom
│ │ ├──740 (43.97%) ── event-listeners
│ │ └────3 (00.18%) ── event-targets
│ └────8 (00.48%) ++ window(about:blank)/dom
├────322 (19.13%) -- top(about:blank, id=1381)/active
│ ├──315 (18.72%) -- window(www.monsite.com)/dom
│ │ ├──313 (18.60%) ── event-listeners
│ │ └────2 (00.12%) ── event-targets
│ └────7 (00.42%) ++ window(about:blank)/dom
├────275 (16.34%) -- top(chrome://communicator/content/downloads/downloadmanager.xul, id=121)/active/window(chrome://communicator/content/downloads/downloadmanager.xul)/dom
│ ├──272 (16.16%) ── event-listeners
│ └────3 (00.18%) ── event-targets
├────190 (11.29%) -- top(none)/detached
│ ├───83 (04.93%) ── window(http://alexdang.info/2015/02/va-the-voi ... -2015.html)/dom/event-listeners [9]
│ ├───57 (03.39%) ++ (11 tiny)
│ ├───32 (01.90%) ── window(www.monsite.com)/dom/event-listeners
│ └───18 (01.07%) ── window(https://apis.google.com/u/0/_/widget/re ... n=21199434)/dom/event-listeners
├─────71 (04.22%) -- top(about:blank, id=2231)
│ ├──64 (03.80%) -- cached/window(www.monsite.com)/dom
│ │ ├──61 (03.62%) ── event-listeners
│ │ └───3 (00.18%) ── event-targets
│ └───7 (00.42%) ++ active/window(about:blank)/dom
├─────53 (03.15%) ++ (7 tiny)
└─────21 (01.25%) -- top(about:memory, id=2264)/active/window(about:memory)/dom
├──19 (01.13%) ── event-listeners
└───2 (00.12%) ── event-targets

1.50 MB (100.0%) -- images
├──1.37 MB (91.42%) -- content
│ ├──1.13 MB (75.54%) -- raster
│ │ ├──1.13 MB (75.40%) -- used
│ │ │ ├──0.66 MB (44.08%) ── uncompressed-heap
│ │ │ └──0.47 MB (31.32%) ── raw
│ │ └──0.00 MB (00.13%) ++ unused
│ └──0.24 MB (15.88%) ── vector/used/documents
├──0.13 MB (08.57%) ── chrome/raster/used/uncompressed-heap
└──0.00 MB (00.02%) ── uncached/raster/used/raw

72.54 MB (100.0%) -- js-main-runtime
├──32.07 MB (44.20%) -- compartments
│ ├──24.75 MB (34.11%) -- classes
│ │ ├──14.80 MB (20.40%) -- objects
│ │ │ ├──11.45 MB (15.78%) ── gc-heap
│ │ │ └───3.35 MB (04.62%) -- malloc-heap
│ │ │ ├──3.07 MB (04.23%) ── slots
│ │ │ └──0.28 MB (00.38%) ++ (2 tiny)
│ │ └───9.95 MB (13.72%) -- shapes
│ │ ├──7.92 MB (10.92%) -- gc-heap
│ │ │ ├──5.33 MB (07.34%) ── tree
│ │ │ ├──1.64 MB (02.26%) ── dict
│ │ │ └──0.96 MB (01.32%) ── base
│ │ └──2.03 MB (02.79%) -- malloc-heap
│ │ ├──1.03 MB (01.42%) ++ (2 tiny)
│ │ └──1.00 MB (01.37%) ── tree-tables
│ ├───3.08 MB (04.24%) -- scripts
│ │ ├──2.39 MB (03.29%) ── gc-heap
│ │ └──0.69 MB (00.95%) ── malloc-heap/data
│ ├───2.29 MB (03.15%) ── compartment-tables
│ ├───1.04 MB (01.43%) ++ (5 tiny)
│ └───0.92 MB (01.27%) ++ baseline
├──20.35 MB (28.05%) ── runtime
├──17.39 MB (23.97%) -- zones
│ ├───7.89 MB (10.87%) ── unused-gc-things
│ ├───4.64 MB (06.40%) -- strings
│ │ ├──2.59 MB (03.57%) -- gc-heap
│ │ │ ├──2.48 MB (03.42%) ── latin1
│ │ │ └──0.11 MB (00.15%) ── two-byte
│ │ └──2.06 MB (02.84%) -- malloc-heap
│ │ ├──1.98 MB (02.73%) ── latin1
│ │ └──0.08 MB (00.11%) ── two-byte
│ ├───1.60 MB (02.20%) -- type-objects
│ │ ├──1.58 MB (02.18%) ── gc-heap
│ │ └──0.02 MB (00.03%) ── malloc-heap
│ ├───1.46 MB (02.01%) ── type-pool
│ ├───1.34 MB (01.85%) -- lazy-scripts
│ │ ├──1.09 MB (01.50%) ── gc-heap
│ │ └──0.25 MB (00.35%) ── malloc-heap
│ └───0.46 MB (00.64%) ++ (4 tiny)
└───2.73 MB (03.77%) -- gc-heap
├──1.73 MB (02.39%) ── chunk-admin
├──1.00 MB (01.38%) ── unused-chunks
└──0.00 MB (00.00%) ── unused-arenas

298 (100.0%) -- js-main-runtime-compartments
├──181 (60.74%) -- system
│ ├──170 (57.05%) ++ (170 tiny)
│ ├────7 (02.35%) ── [System Principal], inProcessTabChildGlobal?ownedBy=chrome://navigator/content/navigator.xul [7]
│ └────4 (01.34%) ── [System Principal], about:blank [4]
└──117 (39.26%) -- user
├───47 (15.77%) ── [Expanded Principal] [47]
├───42 (14.09%) ++ (41 tiny)
├───14 (04.70%) ── www.monsite.com, about:blank [14]
├────5 (01.68%) ── about:blank [5]
├────3 (01.01%) ── http://fqtag.com/pixel.cgi?s=7241639661926356447 [3]
├────3 (01.01%) ── http://us-u.openx.net/w/1.0/pd?plm=1&ph ... 94ad52d590 [3]
└────3 (01.01%) ── www.monsite.com, about:blank [3]

37.95 MB (100.0%) -- js-main-runtime-gc-heap-committed
├──29.07 MB (76.59%) -- used
│ ├──27.12 MB (71.45%) ── gc-things
│ ├───1.73 MB (04.57%) ── chunk-admin
│ └───0.21 MB (00.56%) ── arena-admin
└───8.89 MB (23.41%) -- unused
├──7.89 MB (20.78%) ── gc-things
├──1.00 MB (02.63%) ── chunks
└──0.00 MB (00.00%) ── arenas

0 (100.0%) -- low-memory-events
├──0 (100.0%) ── physical
└──0 (100.0%) ── virtual

86 (100.0%) -- message-manager
└──86 (100.0%) -- referent
├──44 (51.16%) -- parent-process-manager
│ ├──44 (51.16%) ── strong
│ └───0 (00.00%) ++ weak
├──24 (27.91%) -- child-process-manager
│ ├──16 (18.60%) -- weak
│ │ ├──14 (16.28%) ── dead
│ │ └───2 (02.33%) ── alive
│ └───8 (09.30%) ── strong
└──18 (20.93%) -- global-manager
├──18 (20.93%) ── strong
└───0 (00.00%) ++ weak

908 (100.0%) -- observer-service
└──908 (100.0%) -- referent
├──663 (73.02%) ── strong
└──245 (26.98%) -- weak
├──238 (26.21%) ── alive
└────7 (00.77%) ── dead

353 (100.0%) -- observer-service-suspect
├──197 (55.81%) ── referent(topic=memory-pressure)
└──156 (44.19%) ── referent(topic=xpcom-shutdown)

662 (100.0%) -- preference-service
└──662 (100.0%) -- referent
├──586 (88.52%) ── strong
└───76 (11.48%) -- weak
├──76 (11.48%) ── alive
└───0 (00.00%) ── dead

20.95 MB (100.0%) -- window-objects
├──12.73 MB (60.79%) -- dom
│ ├──10.23 MB (48.83%) ── orphan-nodes
│ ├───1.24 MB (05.93%) ── element-nodes
│ ├───0.62 MB (02.98%) ── text-nodes
│ ├───0.62 MB (02.97%) ── other
│ └───0.02 MB (00.08%) ++ (3 tiny)
├───5.54 MB (26.43%) ── style-sheets
├───2.67 MB (12.75%) -- layout
│ ├──1.18 MB (05.66%) ── style-sets
│ ├──0.75 MB (03.56%) ── pres-shell
│ ├──0.41 MB (01.98%) ── frames
│ └──0.33 MB (01.56%) ++ (5 tiny)
└───0.01 MB (00.03%) ── property-tables

0.23 MB ── canvas-2d-pixels
0.00 MB ── gfx-d2d-surface-cache
4.00 MB ── gfx-d2d-surface-vram
21.14 MB ── gfx-d2d-vram-draw-target
7.66 MB ── gfx-d2d-vram-source-surface
0.07 MB ── gfx-surface-win32
0.00 MB ── gfx-textures
0.00 MB ── gfx-tiles-waste
0 ── ghost-windows
113.48 MB ── gpu-committed
115.21 MB ── gpu-dedicated
35.39 MB ── gpu-shared
131.93 MB ── heap-allocated
301 ── heap-chunks
1.00 MB ── heap-chunksize
137.36 MB ── heap-committed
301.00 MB ── heap-mapped
4.11% ── heap-overhead-ratio
0 ── host-object-urls
0.36 MB ── imagelib-surface-cache
1.83 MB ── js-main-runtime-temporary-peak
0 ── low-commit-space-events
425.71 MB ── private
464.88 MB ── resident
0.00 MB ── shmem-allocated
0.00 MB ── shmem-mapped
1,171.03 MB ── vsize
1,805.94 MB ── vsize-max-contiguous

End of Main Process
Post Reply