Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
man8alexd
· 5mo ago · 0 comments
OOM is better. If a program doesn't handle ENOMEM properly, then its state is unpredictable and can lead to data corruption.
Comments
[–]
IshKebab
5mo ago
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.