this post was submitted on 29 Sep 2024
579 points (95.7% liked)
linuxmemes
21282 readers
630 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 2 years ago
MODERATORS
Have you even used Linux? 16GB of RAM is enough, even with electron apps
Not in my experience. The electron spotify app + electron discord app + games was too much. Replacing electron with dedicated FF instances worked tho.
About 6 months ago I upgraded my desktop from 16 to 48 gigs cause there were a few times I felt like I needed a bigger tmpfs.
Anyway, the other day I set up a simulation of this cluster I'm configuring, just kept piling up virtual machines without looking cause I knew I had all the ram I could need for them. Eventually I got curious and checked my usage, I had just only reached 16 gigs.
I think basically the only time I use more that the 16 gigs I had is when I fire up my GPU passthrough windows VM that I use for games, which isn't your typical usage.
I have a browser tab addiction problem, and I often run both LibreWolf and Firefox at the same time (reasons). I run discord all the time, signal, have a VTT going on, a game, YouTube playing… and I look at my RAM usage and wonder why did I buy so much when I can never reach 16 GB.
While I agree electron apps suck and I avoid them… Whatever you guys are running ain’t a typical use case.
I have the same problem tab suspender addons really help with that.
Even on windows, its hilarious to compare the RAM Discord uses. I caught the native app doing 2+gb, and Firefox beating it by... 100mb? I didnt compare ram usage too hard on my Stram Deck though between Flatpak and Firefox, but I expect firefox to be a bit better with its addons/plugins, like it was on windows
We used to say 4GB is enough. And before that, a couple hundred MB. I'm staying ahead from now on, so I threw in 64GB. That oughtta last me for another 3/4 of a decade. I'm tired of doing the upgrade race for 30 years and want to be set for a while.
I can literally trace my current Ryzen PC's lineage like the ship of Theseus to an Athlon system I built in 2002. A replacement GPU here. Replacement mobo there. CPU here, etc.
lightweight usage
That doesn't mean anything. If you have tons of free RAM, programs tend to use more than strictly necessary because it speeds things up. That doesn't mean they won't run perfectly fine with 8GiB as well.
What distro are you using? What apps are open?
Arch: https://i.imgur.com/yQThMrp.png
What does
free -h
say?I was wondering if your tool was displaying cache as usage, but I guess not. Not sure what you have running that's consuming that much.
I mentioned this in another comment, but I'm currently running a simulation of a whole proxmox cluster with nodes, storage servers, switches and even a windows client machine active. I'm running that all on gnome with Firefox and discord open and this is my usage
Of course discord is inside Firefox, so that helps, but still...
about 3gigs goes to vram as i don't have dedicated card yet, but i'm getting 16 gig dedicated gfx soon
Run this:
ps aux --sort=-%mem
https://i.imgur.com/fruEcjW.png
16 MiB is enough depending on what you're running.
It used to be that 640K oughta be enough for anyone.
Man i remember. I have 16GB And running windows I would run out of ram so fast. Now on linux, I feel like I am unable to push the usage beyond 8GB in my regular workflow. I also switched to neovim from vscode, Firefox from Chrome and now only when I compile rust does my ram see any usage peaks.
Nah fuck it, let’s just keep putting some more bullshit in our code because we majored in Philosophy and have no idea what complexity analysis or Big O is. The next gen hardware will take care of that for us.
I have 4GB on my fedora i3 laptop and I am indeed able to open signal desktop, discord and 2 Firefox windows.