I think someone needs to update that old “if programming languages were weapons”. JavaScript is a cursed hammer.
8GB is enough for me, but my laptop usually only has GNOME, Orca, and Cinny running.
8 GB is fine for basic tasks and it won’t change anytime soon.
Meh, I never need more than 2G usually and that too only when Firefox is running.
The fact that electron both exists and is one of the most popular cross-platform development frameworks tells you everything you need to know about the current potato’d state of software development.
The underlying issue is that nobody wants to develop using any of the available cross-platform toolkits that you can compile into native binaries without an entire browser attached. You could use Qt or GTK to build a cross-platform application. But if you use Electron, you can just run the same application on the browser AND as a standalone application.
Me? I’m considering developing my next application in Qt out of all things because it does actually have web support via WASM and I want to learn C++ and gain some Qt experience. Good idea? Probably not.
I have developed personalized tools as part of my job and I chose qt to write them in partially because if a company I work for would ever try to commercialize them, they’d have to either buy qt licenses or open source them.
I cheat a bit though because I use qt through python.
I hate electron apps. Just make a website asshole, don’t bundle a whole chrome browser! The only one I’ll tolerate is ferdium, because having a message control center is kinda neat.
Also, massive security surfaces.
Any music producer is familiar with 3rd party license managers like ilok that make you use their Shit-ass electron application that gets an update once every few years.
I want normal applications, that run on my computer I have at home!
hank hill jpeg meme.jpg
I guess RAM is a bell curve now.
- 32GB: Enough.
- 16GB: Not enough.
- 8GB: Not enough.
- 4GB: Believe it or not, enough.
I have experienced this myself.
My main machine at home - a M2 Pro MacBook with 32GB RAM - effortlessly runs whatever I throw at it. It completes heavy tasks in reasonable time such as Xcode builds and running local LLMs.
Work issued machine - an Intel MacBook Pro with 16GB RAM - struggles with Firefox and Slack. However, development takes place on a remote server via terminal, so I do not notice anything beyond the input latency.
A secondary machine at home - an HP 15 laptop from 2013 with an A8 APU and 8GB RAM (4GB OOTB) - feels sluggish at times with Linux Mint, but suffices for the occasional task of checking emails and web browsing by family.
A journaling and writing machine - a ThinkPad T43 from 2005 maxed out with 2GB RAM and Pentium M - runs Emacs snappily on FreeBSD.
There are a few older machines with acceptable usability that don’t get taken out much, except for the infrequent bout of vintage gaming
I actually audibly laughed when Raspberry Pi came out with an 8GB version because for anyone who thinks 4GB isn’t enough probably won’t be happy with 8 either.
I wonder what the hell they are doing with it? I mean I have the 3B with IIRC 1GB and I can use the desktop and run python scripts to fiddle with all the I/O ports and stuff, what do you do with a raspberry that needs eight times the RAM??
I’m seriously curious!
At that point you’re running some sort of server on it probably.
For which, it’s not even the most cost effective hardware tbh. There are X86 based tiny PCs for good prices used
How does power consumption of those x86 PCs compare?
I have no idea how people use so much RAM. I use a 16 GB machine for work and it runs perfectly. For the majority of the time I’m well below 8GB. And I do use Electron apps.
Of course, I’m aware of the possible uses demanding more than 16 GB but I can’t believe this would be the case for a majority of the people.
With just a web browser, teams, and visual studio open my work machine sits at 95% usage of 16gb. Half the time my compiles can’t even finish without getting axed by the oom killer. SSMS is a hog too, I often have to close half my stuff to get to work right.
Supposed to be getting an upgrade but my company is taking their sweet time.
Right! IDE is probably the missing piece. I use Neovim exclusively so I didn’t even think about this.
The people who installed toolbars until half their screen was full are still around. Just now they keep 100 tabs open instead
I have tons of firefox tabs open, even on my telephone. I’m quite sure they just get unloaded /not loaded if not used?
Yes, Firefox does that
I keep tabs open just in case I need it later, definitely faster to try to find right tab across 4 windows with 20 tabs each than just opening the site when I need it again
Yeah, but those shouldn’t really influence memory usage too much unless actively used, right? I’m pretty sure browsers unload unused tabs from memory.
I myself sometimes use quite a lot of tabs, although I have to admit it’s definitely not close to 80 tabs open at all times.
Some bad browsers don’t have automatic tab hibernation and you gotta install extensions for it.
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
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.
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.
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.
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.
deleted by creator
What distro are you using? What apps are open?
Run this:
ps aux --sort=-%mem
What does
free -h
say?[ugjka@ugjka Music.Videos]$ free -h total used free shared buff/cache available Mem: 29Gi 17Gi 1,8Gi 529Mi 11Gi 11Gi Swap: 14Gi 2,0Gi 12Gi
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
$ free -h total used free shared buff/cache available Mem: 46Gi 16Gi 9.1Gi 168Mi 22Gi 30Gi Swap: 3.8Gi 0B 3.8Gi
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
16 MiB is enough depending on what you’re running.
It used to be that 640K oughta be enough for anyone.
deleted by creator
Apple: Enough!
But you’ll have to buy a whole new laptop when it turns out that was a lie.
With only Codium, Firefox, Spotify and Signal I get close to 16GB :(
If you’re using only Electron-based apps, why not use browser tabs for these?
💪 32GB RAM
💵 64GB RAM
128 GB here which runs out if I compile the complete project at work with -j32. And this sucks because 128 GB right now means the RAM cannot run super fast, meaning it is a bottleneck to any modern Ryzen…
256GiB here, i sometimes need to run chrome
And you think that’s enough?
I use separate hdd solely as swap for these cases, used 500gb laptop hdd is good enough if you turn zswap zstd compression on, with recent kernels using mglru it works splendidly
At least 8 is better than 4
I retired my 4gb/120gb/celeron ThinkPad 11e today, since I’ve got a more powerful laptop lying around and I’ve used it for 8 years nonstop. It used to freeze up occasionally when there were more than 4 Firefox tabs open, and not to mention, my obsession with GNOME causing a shortage of system resources.
Man that ThinkPad felt like family, I’m gonna miss using it.
You could always put it into service as a network wide ad blocker with PiHole. Might also speed up web browsing a bit too, since PiHole also works as a DNS cache.
Good idea, although I don’t have my own house yet since I’m still a teen, and absolutely nobody would trust me to implement PiHole on our router lmao
Hook it up as a subnet for yourself!
16gb and a number less than 16gb both not being big enough numbers is making me crack up
I only run out of ram (16GB) when I’m playing minecraft with 280 mods