Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jcalvinowens
· 1y ago · 0 comments
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 :)
Comments
[–]
hugo1789
1y ago
And debug many tools which still ignore the fact that malloc could fail.