Open
Bug 1542928
Opened 5 years ago
Updated 2 years ago
report LMDB's heap memory allocations
Categories
(Toolkit :: Storage, enhancement, P3)
Toolkit
Storage
Tracking
()
NEW
People
(Reporter: myk, Unassigned)
Details
We should report LMDB's heap memory allocations so they stop showing up as heap-unclassified in about:memory, per https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Memory_reporting.
The malloc_size_of crate (https://searchfox.org/mozilla-central/source/servo/components/malloc_size_of/lib.rs) may be useful for this. Here's an example that implements its MallocSizeOf trait by calling through to a C++ implementation:
Perhaps we could implement this in rkv/lmdb-rs behind a "gecko" feature flag, like the style and style_traits crates.
Reporter | ||
Updated•5 years ago
|
Type: defect → enhancement
Updated•5 years ago
|
Component: General → Storage
Updated•5 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•