• Echo Dot@feddit.uk
    link
    fedilink
    arrow-up
    8
    ·
    6 hours ago

    I don’t know why electron has to use so much memory up though. It seems to use however much RAM is currently available when it boots, the more RAM system has the more electron seems to think it needs.

    • GamingChairModel@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      5 hours ago

      Chromium is basically Tyrone Biggums asking if y’all got any more of that RAM, so bundling that into Electron is gonna lead to the same behavior.

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      4 hours ago

      Ib4 “uNusEd RAm iS wAStEd RaM!”

      No, unused RAM keeps my PC running fast. I remember the days where accidentally hitting the windows key while in a game meant waiting a minute for it to swap the desktop pages in, only to have to swap the game pages back when you immediately click back into it, expecting it to either crash your computer or probably disconnect from whatever server you were connected to. Fuck that shit.

      • boonhet@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        3 hours ago

        I mean unused RAM is still wasted: You’d want all the things cached in RAM already so they’re ready to go.

        • Echo Dot@feddit.uk
          link
          fedilink
          arrow-up
          1
          ·
          58 minutes ago

          I mean I have access to a computer with a terabyte of RAM I’m gonna go ahead and say that most applications aren’t going to need that much and if they use that much I’m gonna be cross.

        • Buddahriffic@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 hours ago

          I don’t want my PC wasting resources trying to guess every possible next action I might take. Even I don’t know for sure what games I’ll play tonight.

          • boonhet@sopuli.xyz
            link
            fedilink
            arrow-up
            3
            ·
            2 hours ago

            Well you’d want your OS to cache the start menu in the scenario you highlighted above. The game could also run better if it can cache assets not currently in use instead of waiting for the last moment to load them. Etc.

            • Buddahriffic@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 hour ago

              Yeah, for things that will likely be used, caching is good. I just have a problem with the “memory is free, so find more stuff to cache to fill it” or “we have gigabytes of RAM so it doesn’t matter how memory-efficient any program I write is”.