Skip to main content

resident_memory

Function resident_memory 

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

The process’s resident memory in bytes, from the platform’s own accounting: the task’s physical footprint on Apple platforms, the resident set from /proc on Linux and its relatives, the working set on Windows, the linear memory on wasm. None where none is readable, which the exit line reports as unknown.