2 ms·
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 mor
by jcalvinowens 1y 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 1y agoAnd debug many tools which still ignore the fact that malloc could fail.