Reinstall the os and forgot to install zram and I paid for it

      • db2@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        Some people think that. I tried it to see what would happen, I have enough that I never threatened to hit the ceiling during normal use so it was uneventful. I turned swap back on and forgot about it for a couple weeks, when I checked about 12GB of swap was in use. So even if you have plenty of ram don’t discount swap, it’s still going to help.

    • ColdWater@lemmy.caOP
      link
      fedilink
      arrow-up
      41
      ·
      16 hours ago

      Swap but better it behave mostly like actual ram and fast too, not as fast as actual ram but still way faster than swap I can open 5 browser tabs one of them playing a video while compiling a software I don’t feel my system slow down at all

      • MonkeMischief@lemmy.today
        link
        fedilink
        arrow-up
        15
        ·
        12 hours ago

        I always confuse ZRAM and ZSwap. From my understanding ZRAM is the better one and Zswap is kinda outmoded.

        It turns into a rabbit hole every time I gotta reference it! Lol

        • charizardcharz@piefed.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 hours ago

          From my understanding, it’s the opposite. Zswap is the better one since it has a ZRAM-like compressed section of RAM and disk-backed swap. That’s definitely an oversimplification though.

          I agree it’s confusing. I always look it up during setup so I know which one to use.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      31
      ·
      16 hours ago

      It’s a Linux feature to compress some of your memory and then store it in a RAM disk. For systems with limited memory, it makes it go further.

      https://en.wikipedia.org/wiki/Zram

      zram, formerly called compcache, is a Linux kernel module for creating a compressed block device in RAM, i.e. a RAM disk with on-the-fly disk compression. The block device created with zram can then be used for swap or as a general-purpose RAM disk. The two most common uses for zram are for the storage of temporary files (/tmp) and as a swap device.

      • Cousin Mose@lemmy.hogru.ch
        link
        fedilink
        arrow-up
        6
        ·
        15 hours ago

        I have a mini PC that has been barreling through NVMe disks but Alpine Linux’ “usb” install mode just wasn’t great either. So I use a “sys” (traditional install) on an NVMe disk but have directories like /var/log, /tmp, etc. on Zstandard compressed zram disks. It’s been pretty fantastic honestly.

    • zurohki@aussie.zone
      link
      fedilink
      English
      arrow-up
      33
      ·
      13 hours ago

      I upgraded to 64GB RAM a year or so ago which I didn’t really need, but it was cheap so why not.

      How things have changed.

        • zurohki@aussie.zone
          link
          fedilink
          English
          arrow-up
          8
          ·
          11 hours ago

          Now it’s starting to look like upgrades are just a thing of the past and this is going to be my forever machine.

            • zurohki@aussie.zone
              link
              fedilink
              English
              arrow-up
              2
              ·
              9 hours ago

              I hope I am too, but I just looked at what a CPU, motherboard and RAM upgrade would cost and it looks like this system will be old enough to start high school by the time I replace it.

              And the system after that? If I buy new in 2030, when will the one after that be? 2045?

  • pewpew
    link
    fedilink
    arrow-up
    1
    ·
    10 hours ago

    Is it just me or building with

    cmake --build --parallel
    

    Crashes with out of memory every time? Maybe it depends on the project but idk