Skip to main content

allocator_stats

Function allocator_stats 

Source
pub fn allocator_stats() -> Option<(u64, u64)>
Expand description

Live heap bytes and allocator-resident bytes (stats.allocated, stats.resident), when jemalloc is the allocator. The gap between process RSS and allocated is what eviction cannot reach: allocator retention, code and thread stacks.