• OctopusNemeses@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    21 days ago

    I’m pretty sure the “unused RAM is wasted RAM” thing has caused its share of damage from shit developers who took it to mean use memory with reckless abandon.

    • ThePantser@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 days ago

      Would be nice if I could force programs to use more ram though. I actually have 100GB of DDR4 my desktop. I bought it over a year ago when DDR4 was unloved and cheap. But I have tried to force programs to not be offloading as much. Like Firefox, I hate that I have the ram but it’s still unloading webpages in the background and won’t use more than 6GB ever.

      • floquant@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        21 days ago

        Set swappiness to 5 or something similar, or disable swap altogether unless you’re regularly getting close to max usage

        • Vlyn@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          21 days ago

          Don’t fully disable swap on Windows, it can break things :-/

            • Vlyn@lemmy.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              21 days ago

              Maybe it has changed again, but in the past I gave it a try. When 16 GB was a lot. Then when 32 GB was a lot. I always thought “Not filling up the RAM anyway, might as well disable it!”

              Yeah, no, Windows is not a fan. Like you get random “running out of memory” errors, even though with 16 GB I still had 3-4 GB free RAM available.

              Some apps require the page file, same as crash dumps. So I just set it to a fixed value (like 32 GB min + max) on my 64 GB machine.

      • iglou@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        21 days ago

        Programs that care about memory optimization will typically adapt to your setup, up to a point. More ram isnt going to make a program run any better if it has no use for it

    • Vlyn@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 days ago

      With 32 and 64 GB systems I’ve never run out of RAM, so the RAM isn’t the issue at all.

      Optimization just sucks.

        • Vlyn@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          20 days ago

          Decent sized for what?

          Creative writing and roleplay? Plenty, but I try to fit it into my 16 GB VRAM as otherwise it’s too slow for my liking.

          Coding/complex tasks? No, that would need 128GB and upwards and it would still be awfully slow. Except you use a Mac with unified memory.

          For image and video generation you’d want to fit it into GPU VRAM again, system RAM would be way too slow.