pub fn detect_memory_limit() -> Option<MemoryLimit>Available on Linux only.
Expand description
Returns the cgroup (v1 or v2) memory limit if it exists.
pub fn detect_memory_limit() -> Option<MemoryLimit>Returns the cgroup (v1 or v2) memory limit if it exists.