Possibly related:

screen shot of memory usage by app, showing Firefox using over 18GB of RAM

I also don’t understand why every chat app needs 1GB of RAM to itself.

  • nixigaj@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    systemd-oomd with its memory pressure model never really worked for me, even after configuring it to be fairly aggressive. My system still irreversibly locks up the second the memory and swap touches 100%. earlyoom with its more primitive model works much better and actually kills processes before the memory and swap hits the ceiling. Combine this with a 2x RAM size swap file and desktop Linux is finally as stable as Windows and macOS. It is just a shame that distros do not configure generous, dynamically growing, swap files and a good oom killer by default, and you have to discover this fundamental problem of the Linux kernel yourself on multiple different devices before realizing what you actually need to do to fix these random freezes.