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