Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I suppose it depends how big your binaries are, but once those are getting culled from memory things are not pretty.

Keep in mind that if your swap is not huge, it will very often fill will cold data and you won't have swap thrashing despite running out of memory.

Good point about measuring the page cache directly.



Ah yes. We can agree that both small swap and no swap are superior to the "2x RAM" nonsense that still pops up as a recommendation though.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: