max_memory

Function max_memory 

Source
pub fn max_memory() -> u32
Expand description

Fetches the maximum memory limit from the environment variable “MAX_MEMORY”. If the variable is not set or its value cannot be parsed into u32, a default value of 4096 is returned.