Skip to main content

automatic_daemon_memory_limit

Function automatic_daemon_memory_limit 

Source
pub fn automatic_daemon_memory_limit(system_bytes: u64) -> u64
Expand description

Default daemon ceiling: five percent of physical RAM, capped at 2 GiB. When the platform cannot report RAM, the fixed cap is the conservative usable fallback.