Transcript

Meme format: Undertaker standing behind AJ Styles

AJ styles caption: Stubborn process consuming too much memory.

Undertaker caption: OOM Killer

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 hours ago

    the only times I had OOM killer kick in, the machine was already frozen for a long time trying to swap things in and out and whatnot. So I started using earlyoom - it’ll just nuke that memory hogging process out of existence before it takes the whole machine down.

    • xthexder@l.sw0.com
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      7 hours ago

      That sounds to me like it’s basically the same as turning off swap. I don’t think oom killer activates until you fill up your swap as well.

      I guess it could still be useful since it’s more tunable than the kernel oom killer.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        it’s not, because it takes swap usage into account, so you can benefit from swap without risking a frozen system

        • xthexder@l.sw0.com
          link
          fedilink
          arrow-up
          2
          ·
          7 hours ago

          I guess swap can still be useful for background browser tabs and apps. I haven’t run swap on my machines for years now, so I can’t really remember how and when it decides to start moving stuff there.

          The last few times I ran into OOM killer it’s been from compiling/linking some huge project that used up 90% of my ram on its own… so I’ve probably been having a different experience than most people.

          • Eager Eagle@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 hours ago

            yeah, swap is definitely still useful and it gets used by the kernel well before the main memory is full