Hacker News new | ask | show | jobs
by w1kt0r 3081 days ago
Author assumes that you actually have some disk space to spare, which is not always the case.

I wonder if instead of using 4GB RAM, I'd setup 3GB RAM + 1GB swap space in RAM disk would result in much wiser OOM killer decisions (or stability).

Showing superiority of such configuration would probably convince all swap sceptics

1 comments

In that case, you should use zram or zswap, it's what Chromebooks do to avoid swapping to their limited-performance flash storage, despite only 2GB or 4GB RAM.