3 ms·
The only other option is failing mmap and malloc as well as disabling overcommit. And even that doesn't prevent death by swapping. There's no real API to inform
by AstralStorm 7y ago
The only other option is failing mmap and malloc as well as disabling overcommit. And even that doesn't prevent death by swapping.
There's no real API to inform applications about low memory conditions.