Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@electrineer He could let us login. Then the ram issue will be the least of his worries.
-
I'm using only firefox but my ubuntu system shows I'm using 5GB ram it's over 50%, I am not able to understand does ubuntu generally takes that much memory or this is just my PC problem?
-
You are running Firefox. That has often turned out to be the issue in the past. It’s a resource hungry bastard of a browser. Not sure if they’ve managed to fix their memory leak already?
-
Do you have some websites open in particular?
Enabling zram (or zswap) would help a bit ̶b̶̶u̶̶t̶̶ ̶it̶̶ ̶̶i̶̶s̶̶n̶̶‘̶̶t̶̶ ̶̶m̶̶a̶̶g̶̶i̶̶c̶ it 𝗶𝘀 magic but it won't solve the root cause. -
Is this in a professional context? Or are you running this at home? Figuring out what is causing software to misbehave should be a basic skill if you are operating in a pro context.
-
Don't sweat on swap files - at least this way RAM can be negotiated before it's too late.
-
Hazarth95023yHow many tabs do you have open?
I run two instances of Firefox on top of kubuntu, and my system sits at 3.2GB average. Even with PyCharm on top It's barely 4 -
h3rp1d3v5233yI had a similar issue where react dev server eats up all memory. Not sure whether switching build tools like vite solves the problem. Purchasing new memory stick is the cure
-
Fakerlol863yDo you have tempfs activated and some application is dumping a load of files into the /tmp-Folder?
My rookie mistake with my first Linux was to unpack a bunch of files into /tmp and wonder why my ram shot up like that -
C0D4681383yMaybe try what the rest of us do, and close some applications 🤭oh god... who knew it was that easy.
I've included some high level instructions for you for future reference. -
@reij 1 GiB is more than enough for most of what developers do. Developers with too powerful machines end up writing software that needs too much resources.
-
@electrineer Don't write bloat ware that uses >20 libraries.
There are rare occasions where you really need more power: For example compiling your complete OS. -
Protip for Firefox:
Settings -> General -> Performance -> Threads
lower that to maybe 4 to reduce RAM use at the cost if performance (possibly). Really helps when I abuse small VMs.
Related Rants
-
gururaju53*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx65This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus60Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
HELP!!!, My ubuntu system exhaust all of it's ram, my system lags too much, I was currently running firefox, vim, postman, react server and node server.
question
linux
ubuntu