▲ | jcalvinowens 4 days ago | |
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 :) | ||
▲ | hugo1789 3 days ago | parent [-] | |
And debug many tools which still ignore the fact that malloc could fail. |