/// The memory limit for this cgroup
///
/// If it's not set, it seems to be u64::max
The memory limit for this cgroup
If it's not set, it seems to be u64::max
The memory limit for this cgroup If it ' s not set it seems to be u64 :: max
pub fn limit_in_bytes() -> Result<usize, io::Error> {
                let contents = read_file("/sys/fs/cgroup/memory/memory.limit_in_bytes")?;
                let bytes = contents.trim().parse().unwrap();
                Ok(bytes)
            }
pub fn limit_in_bytes ( ) -> Result < usize , io :: Error > { let contents = read_file ( " " ) ? ; let bytes = contents . trim ( ) . parse ( ) . unwrap ( ) ; Ok ( bytes ) }
The memory limit for this cgroup
If it's not set, it seems to be u64::max
The memory limit for this cgroup If it ' s not set it seems to be u64 :: max