Skip to main content

available_memory

Function available_memory 

Source
fn available_memory(machine: Option<u64>, cgroup: Option<u64>) -> Option<u64>
Expand description

Returns the memory this process can use: the smaller of the machine’s memory and the cgroup limit, ignoring values that are unknown or zero.