0

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.

Comments
  • 6
    downloadmoreram.com
  • 2
    @Demolishun LOL, I don't need this!
  • 4
    What do you want us to do, come kill the resource hogging application?
  • 8
    @electrineer He could let us login. Then the ram issue will be the least of his worries.
  • 0
    Maybe run "top" to find out where the issue is?
  • 0
    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?
  • 0
  • 1
    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?
  • 2
    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.
  • 0
    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.
  • 3
    Don't sweat on swap files - at least this way RAM can be negotiated before it's too late.
  • 0
    How 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
  • 0
    I 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
  • 0
    @Hazarth 2 to 3 average but I have a dozen firefox addons.
  • 1
    @priyanshu-zeon so what did top tell you about your memory usage?
  • 0
    Do 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
  • 1
    8 gigs of ram is really not enough for most devs today
  • 4
    Maybe 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.
  • 1
    @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.
  • 1
    Linux peasantry
  • 0
    @happygimp0 rip compile times
  • 0
    @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.
  • 1
    Could be a memory leak somewhere in your react or node app
  • 1
    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.
  • 1
    Nodejs...
  • 0
    More swap
Add Comment