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

You can trivially disable overcommit on Linux (vm.overcommit_memory=2) to get allocation failures instead of OOMs. But you will find yourself spending a lot more money on RAM :)


And debug many tools which still ignore the fact that malloc could fail.




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

Search: