3 ms·
That seems completely reasonable. The only interesting case is "There was far too little storage, so we gave up early" e.g. you need 14GB, there is 186MB availa
by tialaramex 3y ago
That seems completely reasonable. The only interesting case is "There was far too little storage, so we gave up early" e.g. you need 14GB, there is 186MB available, give up. I probably don't want my photo viewer to crash because I tried to open a JPEG that wouldn't fit in RAM, better it just says that's too big and I can pick a different file.
Whenever people are imagining they're going to recover despite OOM in low level components they are tripping. Their recovery strategy is going to blow up too, and then they're going to be in a huge mess - just abort when this happens.
- jeff-davis 3y agoPostgres is designed to recover on OOM in most cases.
- tialaramex 3y agoThat's nice, how well does it work in practice?
- jeff-davis 3y agoIt works. Bugs have been found, and some more bugs probably exist, but I think it meets a fairly high bar of quality.