When my laptop was using around 80-90% RAM, I left it unattended for several hours. When I came back, bar resource monitor showed 40% CPU and 98% RAM usage, mouse was moving at 0.2 FPS stuck in cursor mode, no buttons could be pressed, system did not react to keyboard. Alt+F4, switching to tty, Alt+PrtScr+F did not work. I had to reboot using the physical power button and lose important work.
It’s not the first time I was stuck in OOM condition, Fedora is known for not handling it well. Is there a piece of software that would reserve several megabytes to itself, and when computer freezes with OOM would list available processes to kill?
Fedora delivers a default package when installing, configuring systemd-oomd is up to you. Not everyone has the same environment.
systemd-analyze cat-config systemd/oomd.conf shows you what you have and where you can config you see while using man oomd.conf. You can create some called drop-in files in /etc/systemd/oomd.conf.d/*.conf with your specific configuration.
And there is also oomctl where you can get some details.
If you give us an inxi -Fzxx we can see how you have your resources used.
As your article said … it depends on the configuration of your system, using the also the swap space. And by the way, the statement has been made 3Years ago