services.earlyoom.freeMemThreshold
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
10- Declared
- <nixpkgs/nixos/modules/services/system/earlyoom.nix>