[Bug 263436] www/firefox uses excessive amount of memory
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 263436] www/firefox uses excessive amount of memory"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Aug 2022 15:39:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263436
--- Comment #8 from freebsd@schukraft.org ---
Maybe we can nudge the Importance up one level, as it not only affects you.
I've seen this behaviour for quite some time, going into multiple years now.
Firefox always seems to consume 10s of GB after a few days, and I until now
chucked it up to the many tabs being open (~100-200, split over 2-4 windows
with ~100 in the main one), some with JS-heavy/media content + some addon(s)
now behaving well like Treestyle Tabs, uMatrix, uBlock Origin and the like.
But I can't help but think that just a few years back I was able to keep that
many tabs open without problems, so while it might be the more JS-intensive
nature of the modern web, I'm still not sure this isn't some kind of memory
leak or other inefficiency.
Invariantly, at some point, swap is exhausted and stuff gets oom-killed.
For comparison, my about:memory summary for the main process:
Main Process (pid 9174)
WARNING: the 'heap-allocated' memory reporter does not work for this platform
and/or configuration. This means that 'heap-unclassified' is not shown and the
'explicit' tree shows less memory than it should.
Explicit Allocations
899.20 MB (100.0%) ++ explicit
Other Measurements
36.55 MB (100.0%) ++ decommitted
17,831 (100.0%) ++ event-counts
36 (100.0%) ++ extensions
481.56 MB (100.0%) ++ gfx
8.54 MB (100.0%) ++ images
691 (100.0%) ++ ipc-channels
774 (100.0%) ++ ipc-channels-peak
8 (100.0%) ++ js-helper-threads
119.21 MB (100.0%) ++ js-main-runtime
34.11 MB (100.0%) ++ js-main-runtime-gc-heap-committed
34 (100.0%) ++ js-main-runtime-realms
477 (100.0%) ++ js-module-loader
0.39 MB (100.0%) ++ memory-blob-urls
106 (100.0%) ++ message-manager
3,954 (100.0%) ++ observer-service
2,324 (100.0%) ++ observer-service-suspect
720 (100.0%) ++ preference-service
0 (100.0%) ++ queued-ipc-messages
0.14 MB (100.0%) ++ shared-string-bundles
22.09 MB (100.0%) ++ window-objects
4.00 MB ── font-list-shmem
6.53 MB ── gfx-surface-image
0.00 MB ── gfx-textures
0.00 MB ── gfx-textures-peak
0.00 MB ── gfx-tiles-waste
0 ── ghost-windows
0 ── imagelib-surface-cache-already-present-count
0.29 MB ── imagelib-surface-cache-estimated-locked
0.43 MB ── imagelib-surface-cache-estimated-total
445 ── imagelib-surface-cache-image-count
302 ── imagelib-surface-cache-image-surface-count
377 ── imagelib-surface-cache-locked-image-count
218 ── imagelib-surface-cache-locked-surfaces-count
0 ── imagelib-surface-cache-overflow-count
0 ── imagelib-surface-cache-table-failure-count
84 ── imagelib-surface-cache-tracked-cost-count
84 ── imagelib-surface-cache-tracked-expiry-count
0 ── imagelib-surface-cache-tracking-failure-count
2.31 MB ── js-main-runtime-temporary-peak
204 ── page-faults-hard
24,126,094 ── page-faults-soft
10,129.50 MB ── private
9,815.91 MB ── resident
9,893.29 MB ── resident-peak
2.10 MB ── shmem-allocated
70.25 MB ── shmem-mapped
1 ── unresolved-ipc-responses
46,885.31 MB ── vsize
8,191.63 MB ── vsize-max-contiguous
0.00 MB ── wasm-runtime
End of Main Process (pid 9174)
--
You are receiving this mail because:
You are the assignee for the bug.