services.earlyoom.freeMemThreshold
NixOS option
Minimum available memory (in percent). If the available memory falls below this threshold (and the analog is true for freeSwapThreshold) the killing begins. SIGTERM is sent first to the process that uses the most memory; then, if the available memory falls below freeMemKillThreshold (and the analog is true for freeSwapKillThreshold), SIGKILL is sent. See README for details.
type: integer between 1 and 100 (both inclusive)Default
declared in: nixos/modules/services/system/earlyoom.nixView source on NixOS/nixpkgs →10