Open
Bug 1947661
Opened 1 year ago
Updated 2 months ago
Add a memory counter for total physical memory
Categories
(Core :: Gecko Profiler, enhancement, P2)
Core
Gecko Profiler
Tracking
()
ASSIGNED
People
(Reporter: pbone, Assigned: pbone)
References
(Depends on 1 open bug)
Details
(Whiteboard: [fp])
The memory counter in Firefox tracks memory allocated with malloc() and free(). However bookkeeping, fragmentation and a cache of "dirty memory" all mean that the actual amount of physical memory allocated to firefox is larger, and when freeing memory especially since Bug 1903758 this can "lag behind" the normal memory counter.
I want to add an optional 2nd memory counter to show the total "committed" memory in mozjemalloc. Note that this won't track memory allocated directly by the JS engine for its own heap or some other custom allocators in firefox or other libraries.
| Assignee | ||
Comment 1•1 year ago
|
||
The profiler frontend bug for this is: https://github.com/firefox-devtools/profiler/issues/5365
| Assignee | ||
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P2
Whiteboard: [fxp]
Updated•1 year ago
|
Updated•2 months ago
|
See Also: https://mozilla-hub.atlassian.net/browse/FXP-4118 → https://mozilla-hub.atlassian.net/browse/FP-1143
Whiteboard: [fxp] → [fp]
You need to log in
before you can comment on or make changes to this bug.
Description
•