pub fn cgroup_memory_limit_bytes() -> Option<u64>Expand description
Container memory limit from cgroups (v2 then v1), if readable.
None when unlimited or unreadable (non-Linux, or a bare host outside a
cgroup). Moved here from admission so all memory-ceiling readers live
beside the resolver.