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

Turning off swap will lead to running out of memory earlier than you’d think because different tasks can allocate a lot instantaneously - you just need a few of them to line up and try allocating a lot at once.

I don’t see how you can realistically operate a computer this way unless you control all the software on it, or you enjoy buying way more RAM than you need.

(Also swap isn’t the only alternative to allocating memory - there’s also purgeable allocations and memory compression.)



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

Search: