Skip to main content

system_ram_bytes

Function system_ram_bytes 

Source
pub fn system_ram_bytes() -> Option<u64>
Expand description

Total physical system RAM in bytes, or None if it can’t be read. Cached for the process (RAM doesn’t change during a session).