7 ms·
I just want them to make memory management sane. Is that too much to ask? OOM shouldn't cause a hard reboot. Ok actually I "solved" this by upgrading to 128GB
by IshKebab 2mo ago
I just want them to make memory management sane. Is that too much to ask? OOM shouldn't cause a hard reboot.
Ok actually I "solved" this by upgrading to 128GB of RAM (before the rampocalypse), but still they should fix it.
- throwawayqqq11 2mo agoHave you considered zram/swap? Since running it, i have never seen mem usage > 95%, even under absurd workloads and have never been oom-killed ever since.
- worldsavior 2mo agoDon't you get slower performance in some cases?
- kjs3 2mo agoYes, but for many (not all) it's better than OOM killing your processes.
- IshKebab 2mo agoI did try that back when I only had 32GB. They definitely helped (especially swap) but didn't completely eliminate the problem. I don't know how they do it but I've never had a single issue with OOMs on Windows or Mac. I know Windows doesn't overcommit and it has a proper ctrl-alt-del to let you actually control killing processes if you need to... I'm not sure what Mac does.
- NekkoDroid 2mo agoEvery time I OOM on Windows my Laptop just becomes completely unresponsive excluding the hardware cursor (it is the only thing still movable, everything else is frozen in time), ctrl-alt-del does fuck all until the system becomes responsive again. The worst part is, this isn't limited to OOM, but generally when my disk is hammered with high I/O (e.g. caused by thrashing).
- teitoklien 2mo ago... look into earlyoom , its a pretty neat solution just prescribe to it, all the stuff to never oom no matter what I've never had to hard reboot anymore due to OOM After setting up earlyoom to gracefully start shutting stuff down at a threshold before hitting oom, robustly works all the time even under intense ram + swap pressure + 100% cpu on all cores sorta workload https://man.archlinux.org/man/earlyoom.1.en https://man.archlinux.org/man/earlyoom.1.en
- tedop 2mo ago[dead]