4 ms·
Overcommit does not use or require swap. You can have overcommit enabled on linux and not be using swap at all.
by lawnchair_larry 15y ago
Overcommit does not use or require swap. You can have overcommit enabled on linux and not be using swap at all.
- wmf 15y agoBut then you may meet the OOM killer.
- lawnchair_larry 15y agoAgain, that has nothing to do with swap being enabled.
- wmf 15y agoMy understanding is that swap would delay or prevent the OOM killer from kicking in. Is that wrong?
- lawnchair_larry 15y agoIf you have 8GB of ram and 8GB of swap, the OOM killer will kick in at 16GB. If you have 16GB of ram, and 0GB of swap, the OOM killer will kick in at 16GB.