pub fn detect_memory_limit() -> Option<MemoryLimit>
Expand description

Returns the cgroup (v1 or v2) memory limit if it exists.