Hacker News new | ask | show | jobs
by wmf 5185 days ago
But then you may meet the OOM killer.
1 comments

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.