• Draconic NEO
    link
    fedilink
    185 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).

    • @[email protected]
      link
      fedilink
      125 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)

    • @[email protected]
      link
      fedilink
      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

      • @[email protected]
        link
        fedilink
        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

      • @[email protected]
        link
        fedilink
        39 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.

        • Da Bald Eagul
          link
          fedilink
          18 hours ago

          Global keyboard shortcuts are pretty nice. E.g. muting yourself without alt tabbing to your browser.

          • @[email protected]
            link
            fedilink
            13 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
        link
        fedilink
        37 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…

      • @[email protected]M
        link
        fedilink
        English
        610 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.

  • Blaster M
    link
    fedilink
    English
    1813 hours ago

    Microsoft Flight Simulator: A whole airplane on the couch

  • @[email protected]
    link
    fedilink
    2814 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?

    • @[email protected]
      link
      fedilink
      38 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
      link
      fedilink
      17 hours ago

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

      • @[email protected]
        link
        fedilink
        59 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.

    • miss phant
      link
      fedilink
      714 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)

  • @[email protected]
    link
    fedilink
    English
    5717 hours ago

    I’ve seen builds of the Linux kernel that comfortably fits in my on-die CPU caches.

    So it would just be a picture of an empty sofa.

    • @[email protected]
      link
      fedilink
      English
      3816 hours ago

      There are mid range CPUs with 128MB of L3 cache now. A Linux distro like Tiny Core could fit entirely in cache.

      • @[email protected]
        link
        fedilink
        English
        2116 hours ago

        Tiny Core Linux is a minimal Linux kernel based operating system focusing on providing a base system using BusyBox and FLTK. It was developed by Robert Shingledecker, who was previously the lead developer of Damn Small Linux.

        Ah, that explains a lot! Didn’t know about TCL.

      • @[email protected]
        link
        fedilink
        English
        6
        edit-2
        16 hours ago

        Hm? Do you mean a link to builds that are this small? My midrange Intel i5-12600K (I’m a working man, doc…) L3 cache is 20,971,520 bytes. My Linux Mint (basically Ubuntu kernel) vmlinuz right now is only 14,952,840 bytes. Sure, that’s a compressed kernel image not uncompressed, but consider this is a generic kernel built to run most desktops applications very comfortably and with wide hardware support. It’s not too hard to imagine fitting an uncompressed kernel into the same amount of space. Does that help to show they’re roughly on the same order of magnitude?

        Ten years old kernels could be 2 MB.

        • @[email protected]
          link
          fedilink
          English
          316 hours ago

          Gotcha - I thought you meant you had seen some sort of demo/article/whatever with a proof of concept, but I misunderstood.

    • @[email protected]
      link
      fedilink
      216 hours ago

      My ARM board from 2010 has 256MB of memory. It runs an old 3.1 kernel (not attached to internet) , new kernels won’t fit/load. But on that I have OpenMediaVault running SAMBA shares and mindlna to serve music. It isn’t even using 50% of the 256MB

  • @[email protected]
    link
    fedilink
    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.