Skip to main content

commit_free_mb

Function commit_free_mb 

Source
pub fn commit_free_mb() -> u64
Expand description

Linux commit proxy: MemAvailable from /proc/meminfo. The kernel OOM-killer (a SIGKILL) is the real OOM signal here; the abnormal-exit-plus-low-commit reading together approximate it (SPEC §9.4 open question).