Title. Besides setting tmpfs to use 10GiB of it to store downloads.

116 points
*

Run not one, but two electron based apps? 😅

All jokes aside, most desktop apps and web browsers, nowadays, use ungodly amounts of RAM. The pessimist in me blames Chrome and electron, but in reality it just comes down to programmers being more accustom to having access to more memory than they need.

I say relax and enjoy the lack of slowdowns - having too much RAM is not a problem, but having too little is. Your only concern should ever be trying to avoid the latter, and with 32gb of RAM you should be good until the next big Discord update. (slight /s on that last point)

permalink
report
reply
5 points
*
Removed by mod
permalink
report
parent
reply
37 points

RAM is the kind of thing you’re better off having too much than not enough. Worst case the OS ends up with a very healthy and large file cache, which frees up your storage and makes things a bit faster/lets it spend the CPU on other things. If anything, your machine is future proofed against the ever increasing RAM hungriness of web apps. But if you run out of it, you get apps killed, hangs or major slowdowns as it hits the swap.

The thing with RAM is that it’s easy for 99% of your workload to fit comfortably, and then there’s one thing you temporarily need a bit more and you’re screwed. My machine usually uses 8-12/32GB of RAM but yet I still ended up needing to add swap to my machine. Just opening up the Lemmy source code and spinning up the Rust LSP can use a solid 8+GB alone. I’ve compiled some AUR packages that needed more than 16GB of RAM. I have 16 cores so compiling anything with -j32 can very quickly bring down a machine to its knees even if each compile thread is only using like 256-512MB each.

Another example: my netbook has 8GB. 99% of the time it’s fine, because it’s a web browsing machine, and I probably average on 4GB usage on a heavy day with lots of tabs open. But if I open up VSCode and use any LSP be it TypeScript or Rust, the machine immediately starts swapping aggressively. I had to log out of my graphical session to compile Lemmy, barely.

RAM is cheap enough these days it’s nice to have more than you need to not ever have to worry about it.

permalink
report
reply
6 points

I have 64GB as future proofing (ITX board, two slots, can’t address any more). Normally I probably use 8 to 10 of those doing things like gaming and hoarding internet tabs like they’re a nonrenewable resource. I actually managed to crash my machine with an out of memory condition compiling something a while back. I don’t remember what and I’m sure it doesn’t count as regular use but I installed ZRAM to prevent it from happening again.

permalink
report
parent
reply
34 points

Run your web browser from RAM for faster browsing.

https://github.com/graysky2/profile-sync-daemon

permalink
report
reply
29 points

2 Chrome tabs at the same time!

permalink
report
reply
26 points

With the rate at which Electron applications catch on? Nothing, you’ll end up using it all in a few years time.

permalink
report
reply
9 points

Was just gonna say this. Run discord and slack, and you’re all set.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.2K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments