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

Disk space is cheap. Add a few gigs of swap, or make a swap file! If you just have a few gigs of HDD disk space left, buy another disk!! Having some swap is worth it.

One neat thing that swap can be used for is to take sleeping processes, that might use a lot of memory, and put that memory on disk to free up memory for other active programs.

How much swap do you need ? Square root of your RAM size.



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

Search: