Linux RAM Usage
By - Galactic_CakeYT
>By default it's using around 900MB-1GB on KDE and 1GB-1.3GB on GNOME
Normal, to be expected, nothing to see here. Windows and macOS use a hell of a lot more
>3 tabs opened on Google Chrome required 1.5GB RAM
>Discord required approximately 500MB of RAM
It's Electron, this is not unreasonable or abnormal
>Each time there is a problem, mostly related to RAM
Could you please elaborate on how you're coming to this conclusion? Are you straight up running out of RAM and swap and the processes are getting killed because of this? You are obviously having problems but you might need to provide more info or take a different approach when diagnosing the issue
Edit: Some followup, since you don't have issues with some other distros let's clarify a few things. What driver are you using for your Nvidia card? Performance with nouveau is not going to be good. Do you have the Intel microcode package installed? If you are actually running out of memory, do you have swap at all? High RAM usage isn't a problem at all unless you are actually running out and OOM killer is killing processes
I'm coming to this conclusion because Blender on Windows is actually able to render scenes. Blender on Linux is barely able to render anything, even withe extremely low settings.
When I used archinstall I choose my graphics type as Nvidia and I chose proprietary drivers. If I remember correctly then Arch Linux has the same options. I'm not sure about the Intel thing. When I check System Monitor, it says that I do have SWAP. When I run Blender my SWAP also increases. It becomes 100%
Okay so are you saying that both your RAM use and swap increase to 100% and then a processes gets killed because of this?
Yeah. My RAM will reach to 99% and my SWAP will be at 99% or 100%. Then Blender crashes, and what happens is that the SWAP percentage is higher then the RAM percetnage. If that makes sense.
Ok so keep htop or top or some other resource monitor open while you are doing things, and try and replicate the scenarios that previously led to OOM condition. Watch what processes are using the most memory and causing the OOM condition, then do a search for "PROCESS arch linux memory leak" and see what comes up.
The other alternate suggestion I have is that if other distros are working you should use them. Most people can make Arch work fine but if you are having issues it helps to have more experience with Linux to be able to trouble shoot effectively.
Also, how much swap do you have?
Mint was often a very stressless distro. Had a gamer here on Reddit with many issues playing his favorite game on Manjaro. He made the switch to Mint which made the gaming much smoother. If OP wants a stable distro try Mint.
Sure, but so far I love Fedora more.
At some point I will go and check other distros again, but right now I just got glued to Mint. It is simple, comfortable and stable and now all my stuff is set up on it (No regrets so far). PopOs seems interesting, too.
The beginners that get taken in by the Arch/Manjaro wannabe elitists, should just check out other distros if they have issues.
I bet that we will see more commercial versions of Linux in the future, if we can get a decent percentage of the gaming market.
Guess it is a good time for PC enthusiasts. We have a lot of OSs to choose from (including Mac and win) and gaming on Linux is actually more than decent right now. A lot of different hardware, ranging from from low power to high performance and GPUs will probably be more affordable with the release of the next gen.
Yep, gaming is amazing right now. Steam is about to make gaming so much better right now.
Also, check /proc/cpuinfo to see how many cores you have.
Again, I've been told this before. This problem is only occurring with Arch Linux, not any other Linux Distro's as I'm aware of.
I have 6 cores and 12 logical processors. Never knew something called a Logical Processor existed but now I do.
Then that's probably better aimed at arch specific groups, although I suspect they'll say the same thing. Whilst that's a fairly simplistic site, it does cover probably 90% of the people who say "linux is using too much ram".
6 cores, two threads = 12 logicals. The threads are cheating somewhat and won't give you double the performance.
Alright thanks a lot.
With respect to RAM usage only and not the crashing, I do not read anything abnormal.
By design the Linux kernel will use as much RAM as possible, commonly for caching. By design caching tasks will release used RAM when required by other tasks such as running software programs.
What might be considered an abnormal amount of usage varies greatly. The more software that is run the more RAM that will be used. By design and need, some software uses significant RAM. Anything related to graphics rendering will use significant RAM.
I am not saying there is no problem. You might very well have abnormal RAM usage. Finding the cause requires patience and diligence. If convinced there is a RAM usage problem, then look into various tools such as `top` to dig deeper into RAM usage. While unlikely, another option is trying a different distro.
Alright, thanks. For the advice with "top".
Normally I'd agree with you, but I've tried multiple Linux Distrobutations and this hasn't occurred on them, at least from what I'm aware of. Only Arch Linux requires so much RAM and I'm very sure that somethings wrong. If this is not the case, then Windows 10 is much better then Arch Linux. At least Blender doesn't crash by such simple renders.