Firefox >
I have zero tabs loaded, and a download going.
\ps alx | \grep firefox
0 1000 1722 1 20 0 2479496 1456612 poll_s Sl ? 486:46 /usr/lib/firefox/firefox
Right.
My uptime is a lot longer than what’s indicated there. Perhaps by a day or so.
There’s about:memory, but the free memory functionality does nothing.
Inspecting things a little, I’m concerned that addons use so much memory, but the culprets seem to be mainly heap-unclassified and js-non-window, both of which make me feel like there’s some shit programming going on.
I also know I physically have bad memory on this system, but that should effect speed and not a non-escalating memory leak like this.
1,514.36 MB (100.0%) -- explicit
├────595.33 MB (39.31%) ── heap-unclassified
├────538.56 MB (35.56%) -- js-non-window
│ ├──511.77 MB (33.79%) -- zones
│ │ ├──442.65 MB (29.23%) ++ (110 tiny)
│ │ └───69.11 MB (04.56%) -- zone(0x7f39f2d1d800)
│ │ ├──49.49 MB (03.27%) ++ (327 tiny)
│ │ └──19.63 MB (01.30%) ── unused-gc-things
│ ├───17.45 MB (01.15%) ++ runtime
│ └────9.34 MB (00.62%) ++ gc-heap
├────157.19 MB (10.38%) -- add-ons
│ ├───64.46 MB (04.26%) -- {DDC359D1-844A-42a7-9AA1-88A850A938A8}
│ │ ├──61.63 MB (04.07%) -- window-objects/top(none)/detached/window(chrome://dta/content/dta/manager.xul)
│ │ │ ├──52.00 MB (03.43%) -- js-compartment([System Principal], about:blank)
│ │ │ │ ├──20.17 MB (01.33%) -- objects
│ │ │ │ │ ├──17.33 MB (01.14%) ++ gc-heap
│ │ │ │ │ └───2.84 MB (00.19%) ++ (2 tiny)
│ │ │ │ ├──19.15 MB (01.26%) ++ shapes
│ │ │ │ └──12.68 MB (00.84%) ++ (3 tiny)
│ │ │ └───9.63 MB (00.64%) ++ (3 tiny)
│ │ └───2.83 MB (00.19%) ++ js-non-window/zones/zone(0x7f39f2d1d800)
│ ├───53.36 MB (03.52%) -- unplug@compunach
│ │ ├──53.12 MB (03.51%) -- window-objects/top(none)/detached/window(chrome://unplug/content/display/pop/pop.xul)
│ │ │ ├──46.59 MB (03.08%) -- js-compartment([System Principal], about:blank)
│ │ │ │ ├──20.48 MB (01.35%) -- objects
│ │ │ │ │ ├──15.63 MB (01.03%) ++ gc-heap
│ │ │ │ │ └───4.84 MB (00.32%) ++ (2 tiny)
│ │ │ │ ├──20.27 MB (01.34%) ++ shapes
│ │ │ │ └───5.84 MB (00.39%) ++ (3 tiny)
│ │ │ └───6.53 MB (00.43%) ++ (3 tiny)
│ │ └───0.25 MB (00.02%) ++ js-non-window/zones/zone(0x7f39f2d1d800)
│ ├───19.84 MB (01.31%) ++ (22 tiny)
│ └───19.53 MB (01.29%) -- cliget@zaidabdulla.com/js-non-window/zones
│ ├──16.81 MB (01.11%) ++ zone(0x7f39f2d1d800)
│ └───2.72 MB (00.18%) ++ (4 tiny)
├────102.57 MB (06.77%) -- heap-overhead
│ ├───99.87 MB (06.59%) ── waste
│ └────2.70 MB (00.18%) ++ (2 tiny)
├─────54.76 MB (03.62%) -- window-objects
│ ├──29.47 MB (01.95%) ++ (9 tiny)
│ └──25.29 MB (01.67%) ++ top(none)/detached
├─────26.34 MB (01.74%) -- network
│ ├──26.10 MB (01.72%) ── memory-cache
│ └───0.24 MB (00.02%) ++ (3 tiny)
├─────23.43 MB (01.55%) ++ (19 tiny)
└─────16.18 MB (01.07%) ++ xpconnect
Other Measurements
71.47 MB (100.0%) -- decommitted
├──67.00 MB (93.74%) ── js-non-window/gc-heap/decommitted-arenas
└───4.48 MB (06.26%) -- workers/workers()
├──1.52 MB (02.12%) ── worker(resource://gre/modules/PageThumbsWorker.js, 0x7f39cdf57000)/gc-heap/decommitted-arenas
├──1.51 MB (02.12%) ── worker(resource:///modules/sessionstore/SessionWorker.js, 0x7f39e4751800)/gc-heap/decommitted-arenas
└──1.45 MB (02.03%) ── worker(resource://gre/modules/osfile/osfile_async_worker.js, 0x7f39ed2cb800)/gc-heap/decommitted-arenas
21,336 (100.0%) -- event-counts
├──13,709 (64.25%) -- add-ons
│ ├───7,171 (33.61%) ── unplug@compunach/window-objects/top(none)/detached/window(chrome://unplug/content/display/pop/pop.xul)/dom/event-listeners [47]
│ ├───6,532 (30.61%) ── {DDC359D1-844A-42a7-9AA1-88A850A938A8}/window-objects/top(none)/detached/window(chrome://dta/content/dta/manager.xul)/dom/event-listeners [46]
│ └───────6 (00.03%) ── firefox@ghostery.com/window-objects/top(resource://firefox-at-ghostery-dot-com/ghostery/data/panel.html, id=22)/active/window(resource://firefox-at-ghostery-dot-com/ghostery/data/panel.html)/dom/event-listeners
└───7,627 (35.75%) -- window-objects
├──5,105 (23.93%) -- top(none)/detached
│ ├──3,612 (16.93%) ── window(chrome://browser/content/browser.xul)/dom/event-listeners [4]
│ ├──1,485 (06.96%) ── window(chrome://browser/content/places/places.xul)/dom/event-listeners [9]
│ └──────8 (00.04%) ── window(chrome://global/content/commonDialog.xul)/dom/event-listeners
├──2,070 (09.70%) -- top(chrome://browser/content/browser.xul, id=3)/active
│ ├──1,923 (09.01%) -- window(chrome://browser/content/browser.xul)/dom
│ │ ├──1,922 (09.01%) ── event-listeners
│ │ └──────1 (00.00%) ── event-targets
│ └────147 (00.69%) ── window(chrome://scrapbook/content/scrapbook.xul)/dom/event-listeners
├────230 (01.08%) ++ (6 tiny)
└────222 (01.04%) -- top(https://duckduckgo.com/?kac=-1&k7=kt&kj=kt&kaf=1&kae=d&kp=-1&kz=-1&kn=1&kf=-1&kd=1&ka=a&ku=1&kt=a&ko=s&ke=-1&kk=-1&k1=-1&kv=1&q=firefox%20garbage%20collection, id=6012)/active
├──214 (01.00%) ++ window(https://duckduckgo.com/?kac=-1&k7=kt&kj=kt&kaf=1&kae=d&kp=-1&kz=-1&kn=1&kf=-1&kd=1&ka=a&ku=1&kt=a&ko=s&ke=-1&kk=-1&k1=-1&kv=1&q=firefox%20garbage%20collection)/dom
└────8 (00.04%) ── window(https://duckduckgo.com/post2.html)/dom/event-listeners
712.82 MB (100.0%) -- js-main-runtime
├──478.74 MB (67.16%) -- zones
│ ├──354.24 MB (49.70%) ── unused-gc-things
│ ├──104.82 MB (14.71%) -- strings
│ │ ├───90.97 MB (12.76%) ── malloc-heap
│ │ └───13.86 MB (01.94%) ── gc-heap
│ ├───12.08 MB (01.70%) ++ (6 tiny)
│ └────7.60 MB (01.07%) ── type-objects/gc-heap
├──207.28 MB (29.08%) -- compartments
│ ├───85.46 MB (11.99%) -- shapes
│ │ ├──51.79 MB (07.27%) -- gc-heap
│ │ │ ├──22.05 MB (03.09%) -- tree
│ │ │ │ ├──19.09 MB (02.68%) ── global-parented
│ │ │ │ └───2.96 MB (00.41%) ── non-global-parented
│ │ │ ├──21.45 MB (03.01%) ── base
│ │ │ └───8.29 MB (01.16%) ── dict
│ │ └──33.67 MB (04.72%) -- malloc-heap
│ │ ├──17.81 MB (02.50%) ── compartment-tables
│ │ ├───7.26 MB (01.02%) ── tree-tables
│ │ ├───7.20 MB (01.01%) ── dict-tables
│ │ └───1.41 MB (00.20%) ── tree-shape-kids
│ ├───84.08 MB (11.80%) -- objects
│ │ ├──66.91 MB (09.39%) -- gc-heap
│ │ │ ├──43.48 MB (06.10%) ── function
│ │ │ ├──15.37 MB (02.16%) ── ordinary
│ │ │ └───8.06 MB (01.13%) ++ (2 tiny)
│ │ ├──17.17 MB (02.41%) -- malloc-heap
│ │ │ ├──15.18 MB (02.13%) ── slots
│ │ │ └───1.99 MB (00.28%) ++ (4 tiny)
│ │ └───0.00 MB (00.00%) ── non-heap/code/asm.js
│ ├───25.31 MB (03.55%) -- scripts
│ │ ├──20.51 MB (02.88%) ── gc-heap
│ │ └───4.80 MB (00.67%) ── malloc-heap/data
│ ├────8.77 MB (01.23%) ── cross-compartment-wrapper-table
│ └────3.66 MB (00.51%) ++ (7 tiny)
├───17.45 MB (02.45%) ── runtime
└────9.34 MB (01.31%) -- gc-heap
├──9.34 MB (01.31%) ── chunk-admin
└──0.00 MB (00.00%) ++ (2 tiny)
866 (100.0%) -- js-main-runtime-compartments
├──831 (95.96%) -- system
│ ├──723 (83.49%) ++ (639 tiny)
│ └──108 (12.47%) ── [System Principal], about:blank [108]
└───35 (04.04%) -- user
├──18 (02.08%) ── [Expanded Principal], [anonymous sandbox] (from: resource://gre/modules/addons/XPIProvider.jsm -> jar:file꞉///home/user/.mozilla/firefox/profiles/p.aetzcy%253/extensions/cliget@zaidabdulla.com.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/loader/sandbox.js:32) [18]
└──17 (01.96%) ++ (14 tiny)
531.00 MB (100.0%) -- js-main-runtime-gc-heap-committed
├──354.24 MB (66.71%) -- unused
│ ├──354.24 MB (66.71%) ── gc-things
│ └────0.00 MB (00.00%) ++ (2 tiny)
└──176.76 MB (33.29%) -- used
├──160.84 MB (30.29%) ── gc-things
├────9.34 MB (01.76%) ── chunk-admin
└────6.58 MB (01.24%) ── arena-admin
76 (100.0%) -- message-manager
└──76 (100.0%) -- referent
├──47 (61.84%) -- parent-process-manager
│ ├──47 (61.84%) ── strong
│ └───0 (00.00%) ++ weak
├──25 (32.89%) -- global-manager
│ ├──25 (32.89%) ── strong
│ └───0 (00.00%) ++ weak
└───4 (05.26%) -- child-process-manager
├──4 (05.26%) ── strong
└──0 (00.00%) ++ weak
1,700 (100.0%) -- observer-service
└──1,700 (100.0%) -- referent
├────855 (50.29%) -- weak
│ ├──824 (48.47%) ── alive
│ └───31 (01.82%) ── dead
└────845 (49.71%) ── strong
539 (100.0%) -- observer-service-suspect
├──275 (51.02%) ── referent(topic=memory-pressure)
└──264 (48.98%) ── referent(topic=xpcom-shutdown)
533 (100.0%) -- preference-service
└──533 (100.0%) -- referent
├──453 (84.99%) ── strong
└───80 (15.01%) -- weak
├──80 (15.01%) ── alive
└───0 (00.00%) ── dead
37.69 MB (100.0%) -- window-objects
├──21.36 MB (56.66%) -- dom
│ ├──16.52 MB (43.84%) ── element-nodes
│ ├───3.47 MB (09.22%) ── other
│ ├───0.95 MB (02.52%) ── orphan-nodes
│ └───0.41 MB (01.09%) ++ (4 tiny)
├───8.46 MB (22.46%) -- layout
│ ├──3.65 MB (09.69%) ── style-sets
│ ├──2.27 MB (06.02%) ── pres-shell
│ ├──1.12 MB (02.97%) ── frames
│ ├──0.61 MB (01.61%) ── style-contexts
│ ├──0.43 MB (01.14%) ++ (3 tiny)
│ └──0.39 MB (01.02%) ── rule-nodes
├───7.62 MB (20.21%) ── style-sheets
└───0.25 MB (00.67%) ── property-tables
0.27 MB ── canvas-2d-pixels
11.80 MB ── gfx-surface-xlib
0.00 MB ── gfx-textures
0 ── ghost-windows
877.80 MB ── heap-allocated
980.38 MB ── heap-committed
11.68% ── heap-overhead-ratio
0 ── host-object-urls
0.00 MB ── imagelib-surface-cache
6.68 MB ── js-main-runtime-temporary-peak
1,360 ── page-faults-hard
29,802,744 ── page-faults-soft
1,424.71 MB ── resident
1,388.34 MB ── resident-unique
2,414.64 MB ── vsize
