• Draconic NEO@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    5 hours 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).

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      1
      ·
      23 minutes ago

      Does it kill Firefox if it tries to go over the limit? I think I tried this once and if there is a memory leak it just closes itself (which is batter than hogging the whole system, bit still)

  • jennifer
    link
    fedilink
    English
    arrow-up
    15
    ·
    8 hours ago

    Plenty of room left over for my Chrome tabs

    • Damage@feddit.it
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      14 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

      • dai@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        9 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

      • dan@upvote.au
        link
        fedilink
        arrow-up
        3
        ·
        9 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.

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

            Oh that’s a good point. I totally forgot that Discord has voice features. don’t use Discord often, and when I do, it’s just for text chat. Unfortunately some open source apps I use use Discord for communicating with the developers.

      • Ephera@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        7 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…

  • rtxn@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    11 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
        5
        ·
        9 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
          9 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
            8 hours ago

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

  • JGrffn@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    14 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?

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

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

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

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

      • dan@upvote.au
        link
        fedilink
        arrow-up
        5
        ·
        9 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
        ·
        12 hours ago

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

    • miss phant
      link
      fedilink
      arrow-up
      7
      ·
      14 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)

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

    When I think back to when I marveled that one of our office’s 8Gb nightly backup tapes fit in my shirt pocket - EIGHT GIGABYTES - in my POCKET!!!

    In the future Gen ┐ will whine to their parents that their cerebral implant is only 100 terabytes.