Skip to main content

space_efficient_malloc

Function space_efficient_malloc 

Source
pub fn space_efficient_malloc() -> bool
Expand description

Whether macOS’s allocator runs in its space-efficient mode (MallocSpaceEfficient=1 in the environment the process started with), which returns freed memory to the system at once. Always false elsewhere.