fn available_memory(machine: Option<u64>, cgroup: Option<u64>) -> Option<u64>
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.