Hacker News new | ask | show | jobs
by lawnchair_larry 5180 days ago
Overcommit does not use or require swap. You can have overcommit enabled on linux and not be using swap at all.
1 comments

But then you may meet the OOM killer.
Again, that has nothing to do with swap being enabled.
My understanding is that swap would delay or prevent the OOM killer from kicking in. Is that wrong?
If 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.