• MystikIncarnate@lemmy.ca
    link
    fedilink
    English
    arrow-up
    27
    ·
    15 days ago

    I work in tech, and I don’t understand people’s obsession with having all their RAM free at all times.

    If you don’t use it, why do you have it?

    Windows (not the best OS, but the one I know the most about), will lie to you about how much memory you have that’s free. It puts data in RAM as cache. In the event you need that data, it’s already loaded in RAM. Usually this is stuff like DLLs and executables for programs.

    There’s a difference between “free” memory, and “available” memory.

    In addition, RAM is always going down in price, so 32G today costs what 16G did, some number of years ago. The same can be said for 16G vs 8G, etc. Though, the comparison becomes less relevant as you get into much smaller and older memory types, since the cost per dimm will only ever go so low.

    Buy the memory, use as much of it as you can, as often as you can. Go wild with it. Enjoy.

      • Draconic NEO@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        ·
        15 days ago

        Browsers have a really hard time with the last part. Hence why I recommended limiting it to something more manageable, that way it doesn’t chew up everything available.

    • daddy32@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      15 days ago

      None of thaťs helpful. You know, when browser uses half your ram, teams quarter and rest of the programs the rest, windows is swapping on your SSD like a prick and you cannot switch windows - none of what you said helps. And of course, the RAM is soldered on and cannot be expanded.

      • MystikIncarnate@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        ·
        15 days ago

        I understand your point.

        This is also why I don’t buy systems with soldered RAM. It’s a horrible trend in computer systems that RAM is soldered. It’s a lazy way to fix a problem and nobody should buy a system like that.

        The industry needs to come up with better solutions.

    • Hello Hotel@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      15 days ago

      For me there are programs that “can acceptably use that much RAM” and those that it’s “unacceptable”, to me. what’s 20% to 40% of my gaming rig’s resources may be uncomfortably taxing and laggy for my laptop. Its okay to waste resources on my gaming rig but the laptop needs all it can get. I accept some software will not reasonably run on the laptop. My employer has stuck me on 10yo hardware before, running windows 10 pro + intrusive expensive antivirus and nobody is around to question why their computers are getting 5-15fps and locking up for a minute or two when you open chrome. It becomes normal. Any software is the host and/or backbone for other running software should focus on reducing it’s own resource usage for the sake of its children.

    • Draconic NEO@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      10
      ·
      15 days ago

      There’s a difference between “free” memory, and “available” memory.

      I agree with this, and I’m sure most people complaining about Firefox or Chrome’s abhorrent memory usage would too. The problem with most browsers is that they eat up the available memory and often do not give it back. So you end up with situations where you’re running low on available RAM even though you have 32GB installed.

      Buy the memory, use as much of it as you can, as often as you can. Go wild with it. Enjoy.

      Sure, if you release it when not using it, otherwise unlimited RAM privilege revoked. Memory leaks suck and when they chew up all your RAM and they continue to happen, offending apps should either be no longer used, or limited to their minimum necessary RAM requirements to limit the damage they’ll do.

      Hence why I capped Firefox at 8GB, anything more would be wasted when it inevitably leaks.

      Desktop file to limit Firefox to 8GB of RAM
      [Desktop Entry]
      Version=1.0
      Name=Firefox RAM limit 8GB
      GenericName=Firefox Ram limit 8GB
      Comment=Limit RAM for Firefox to 8GB;
      Exec=systemd-run --user --scope -p MemoryLimit=8G firefox
      Icon=firefox
      Type=Application
      Terminal=false
      Categories=Utility;Development;
      StartupWMClass=Firefox