Skip to main content

commit_used_pct

Function commit_used_pct 

Source
pub(crate) fn commit_used_pct() -> Option<f64>
Expand description

Commit use as a percentage of the commit limit, where the host reports it (Windows: GlobalMemoryStatusEx). None elsewhere: Linux overcommits and macOS has no commit limit, so no figure means no refusal.