get_total_memory_bytes

Function get_total_memory_bytes 

Source
pub fn get_total_memory_bytes() -> i64
Expand description

Get the total memory in bytes. If the memory limit is unset, it will return the total memory from host system. If the system is not supported to get the total host memory, it will return 0.