fn get_container_memory_limit(
cgroup_version: CgroupVersion,
) -> Result<usize, Error>
Expand description
Returns the memory limit of a container if running in a container else returns the system
memory available.
When the limit is set to max, system_memory_available_bytes()
will return default system
memory.