Function ore::cgroup::detect_memory_limit [−][src]
pub fn detect_memory_limit() -> Option<MemoryLimit>
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.