Skip to main content

rss_limit_bytes

Function rss_limit_bytes 

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

Returns this process’s RSS limit in bytes: the max_ram_percent target, lowered to the process cap when one is installed (set_process_rss_cap), plus the memory it keeps resident for good (pin_resident_bytes).