Skip to main content

kernel_tree_memory_limit

Function kernel_tree_memory_limit 

Source
pub fn kernel_tree_memory_limit(
    env_value: Option<&str>,
    per_process_mb: u64,
    override_mb: Option<u64>,
) -> Result<u64, KernelError>
Expand description

kernelTreeMemoryLimit: the override, else ULTRON_RLM_MAX_TREE_MEMORY_MB when it is all digits, else twice the per-process limit; 0 disables. A value past 2^53 - 1 is an error, as in TypeScript.