3 ms·
> I don't understand why you believe that forcing the process that is requesting the allocation to deal with it is the best thing generally. Because it is in t
by AnIdiotOnTheNet 4y ago
> I don't understand why you believe that forcing the process that is requesting the allocation to deal with it is the best thing generally.
Because it is in the best position to understand the consequences of failure and the options for dealing with it.
> From a systems perspective, it is actually worse because there's a stronger chance you're killing a nice, stable process that might be critical simply because it lost the lottery.
If the process is truly critical, it should be designed to stay stable in the event it can't allocate memory.