• Malix
    arrow-up
    9
    arrow-down
    1
    ·
    7 months ago
    link
    fedilink

    On one hand, I’d assume Valve knows what they’re doing, but also setting the value that high seems like it’s effectively removing the guardrail alltogether. Is that safe, also what is the worst that can happen if an app starts using maps in the billions?

    • psycho_driver
      arrow-up
      17
      arrow-down
      0
      ·
      7 months ago
      link
      fedilink

      OOM killer is what happens. But that can happen with the default setting as well.

      • Malix
        arrow-up
        5
        arrow-down
        0
        ·
        7 months ago
        link
        fedilink

        no arguments there. Still, I kinda feel that raising the limit high enough to effectively turn off the limit is probably bit overboard. But, if it works, it works, but the kernel devs probably put the limit in place for a reason too.

    • sugar_in_your_tea
      arrow-up
      2
      arrow-down
      0
      ·
      7 months ago
      link
      fedilink

      The whole point is to prevent one process from using too much memory. The whole point of the Steam Deck is to have one process use all the memory.

      So it makes sense to keep it relatively low for servers where runaway memory use is a bug that should crash the process, but not in a gaming scenario where high memory usage is absolutely expected.