• Draconic NEO@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    9 minutes ago

    Gives a lot of Space for running Virtual machines.

    Also browsers can chew that up fast if you have a lot of tabs, Firefox has managed to do it a few times. At least until I started limiting its RAM to 8GB (best decision ever)

    Limit Firefox to 8GB of RAM .desktop file
    [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
    

    (To use it with other apps like Chrome or Electron apps just replace the command at the end and startup class with the ones from the program you’d like to run).

  • rtxn@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    6 hours ago

    Try realizing ten thousand mesh instances in Blender and watch that sucker eat the rest of your RAM like it’s got a pebble in its shoe.

    I did that on my work PC with 128 GB memory (originally built for esports shit) and it still wasn’t enough.

      • rtxn@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        It was also supposed to be an all-in-one recording/streaming computer for university events, and they had to use the budget for something. It ended up being used as a proxmox host for a while, then it was handed off to me. Now the most resource-intensive thing it runs is a Windows 11 VM that I torture mercilessly use for experiments. It rarely gets to 10% memory utilization.

        • Rin@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 hours ago

          Aaaaah, that make slightly more sense? How old is the computer roughtly?

          • rtxn@lemmy.worldM
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            3 hours ago

            It has an i9 10980, so about 4-5 years old. It was built before I was hired.

    • Damage@feddit.it
      link
      fedilink
      arrow-up
      13
      ·
      edit-2
      8 hours ago

      The other day my laptop was sluggish as hell, checked top and turns out Discord and Orca Slicer were maxing out my cores

      • dan@upvote.au
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        What’s the benefit of running Discord’s app instead of just using it as a PWA? A PWA would reuse your existing browser and its session.

      • dai@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 hours ago

        Is Orca that resource intensive? I’m running it in a container with KasmVNC and have never really checked out the resource usage. Admittedly it’s on one of my local servers in another room. I guess it’s how large your projects are too.

        Edit: maybe it’s just my small projects

      • Ephera@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Firefox unloads old tabs when restarting the browser, so most of those are more like temporary bookmarks.

        Don’t think I’ve ever seen someone open 300 tabs in one session or on Chromium…

  • JGrffn@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    9 hours ago

    Can’t relate, just upgraded my laptop from 32GB to 64GB since VScode would keep closing due to OOM. What? Oh, no, it’s not vscode’s fault…I keep like 5 Firefox windows with 30+ tabs open, like a fucking maniac… Close them? What do you mean “close” them?

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      I mean, I doubt Kate or Geany or Vim would’ve closed due to OOM, but sure…

    • expr@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

      You only need 1 tab to OOM if that tab is Jira. I’ve literally had tabs take up more than 10GB.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        I had around 1500 open tabs in Firefox. It was fine. I figured enough was enough and closed them all. Now I close all tabs at the end of the day before shutting down.

      • grue@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

        I was about to reply to the same thing to another comment about 300 tabs, LOL

    • miss phant@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      7
      ·
      9 hours ago

      When I started hitting OOMs I just downloaded free ram.

      (Modifying my zram-generator config to use 1.5x my ram size instead of the measly 4GB – uncompressed – default. Seriously it’s worth looking into, though default depends on your distro)