• psycho_driver@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    7 months ago

    The default value is 65530

    Just checked and the steam deck has it set to 2147483642. My gentoo systems are 65530.

    • Malix@sopuli.xyz
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      7 months ago

      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?

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        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.