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

OOM is better. If a program doesn't handle ENOMEM properly, then its state is unpredictable and can lead to data corruption.


I don't think it's as simple as that. Killing a program can have unintended consequences too, e.g. corrupting files they were in the middle of writing.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: