Jump to content

New arch install uses a lot of ram

So i just installed arch linux from the latest ISO on my second laptop, and it for some reason uses 2.5GB of ram without anything open, when before it was around 800MB, the system monitor shows the same ram usage as btop and neofetch, but it doesn't show what uses it.

20240121_150929.jpg?ex=65bf9ae0&is=65ad25e0&hm=982a7a3ce78d71cb9cc45f009f31900b3a1fc16864625c05506a9885437ea995&

Link to comment
Share on other sites

Link to post
Share on other sites

Considering your using KDE Plasma its probably the background services for search, indexing, and caching. Any complete Desktop Environment should produce a similar result with your 8G of memory. If this is a concern you could look at a more slimmed down Desktop like LXQT or XFCE, but some background caching will still likely occur.

Link to comment
Share on other sites

Link to post
Share on other sites

49 minutes ago, MiszS said:

but it doesn't show what uses it.

Except for Calendar Reminders using 860 MiB, System Monitor using 126 MiB, etc.? If you add up the numbers from all applications in that list, does it get close to 2.8 GiB?

 

What's the output of "free -h"?

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

51 minutes ago, MiszS said:

So i just installed arch linux from the latest ISO on my second laptop, and it for some reason uses 2.5GB of ram without anything open, when before it was around 800MB, the system monitor shows the same ram usage as btop and neofetch, but it doesn't show what uses it.

20240121_150929.jpg?ex=65bf9ae0&is=65ad25e0&hm=982a7a3ce78d71cb9cc45f009f31900b3a1fc16864625c05506a9885437ea995&

That likely includes buffers/cache, look at "free -h" in konsole.  You can also look in Processes to see what is actually using RAM.  I usually just bring up System Activity with Ctrl+Esc to see what is going on.

 

The kwin manager can eat RAM over time, but it shouldn't be too bad on a fresh boot.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

51 minutes ago, Alex Atkin UK said:

That likely includes buffers/cache, look at "free -h" in konsole.  You can also look in Processes to see what is actually using RAM.  I usually just bring up System Activity with Ctrl+Esc to see what is going on.

 

The kwin manager can eat RAM over time, but it shouldn't be too bad on a fresh boot.

 

52 minutes ago, Eigenvektor said:

Except for Calendar Reminders using 860 MiB, System Monitor using 126 MiB, etc.? If you add up the numbers from all applications in that list, does it get close to 2.8 GiB?

 

What's the output of "free -h"?

 

This is the output right after a fresh restart, and it does NOT add up to 2.5GB of memory, even with 800MB cache (how do i remove it?), it does not make sense to be using 1700MB of memory, linux mint on my main pc uses around 1200MB with nothing in background

 

20240121_165911.jpg?ex=65bfb4ae&is=65ad3fae&hm=18da8146d5234c5fdf03e710e08eb40c016fe2992074311be7bc32ce21eb4ada&

Link to comment
Share on other sites

Link to post
Share on other sites

You are using your igpu so some of your system ram will be allocated to that?

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, MiszS said:

even with 800MB cache (how do i remove it?)

You don't. It's there to speed things up, disabling it would be detrimental to performance. It will automatically be made available, should running programs need it.

 

It's the difference between "free" (the amount of RAM currently unused) and "available" (that amount of RAM that is available for programs to use)

 

You can try

ps -eo size,command --sort -size

to see all processes listed by size and

ps -eo size,command --sort -size | awk '{ hr=$1/1024/1024 ; sum +=hr} END {print sum}'

to get the sum total of the memory used by these processes. See if that adds up to 2.7 GiB

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

48 minutes ago, Eigenvektor said:

You don't. It's there to speed things up, disabling it would be detrimental to performance. It will automatically be made available, should running programs need it.

 

It's the difference between "free" (the amount of RAM currently unused) and "available" (that amount of RAM that is available for programs to use)

 

You can try

ps -eo size,command --sort -size

to see all processes listed by size and

ps -eo size,command --sort -size | awk '{ hr=$1/1024/1024 ; sum +=hr} END {print sum}'

to get the sum total of the memory used by these processes. See if that adds up to 2.7 GiB

it says "unknown format specifier" when i try to run those commands

Link to comment
Share on other sites

Link to post
Share on other sites

I just tried reinstalling it, and there's some weird error every time, its either instantly an error, or after a few minutes of it installing stuff, wtf is wrong with the arch installer?

20240121_185657.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, MiszS said:

I just tried reinstalling it, and there's some weird error every time, its either instantly an error, or after a few minutes of it installing stuff, wtf is wrong with the arch installer?

20240121_185657.jpg

I've seen a lot of negativity about Arch all around being easily broken, its probably the last distro I'd use personally.  The Asahi Linux developers ditched Arch due to the problems and moved to Fedora.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Alex Atkin UK said:

I've seen a lot of negativity about Arch all around being easily broken, its probably the last distro I'd use personally.  The Asahi Linux developers ditched Arch due to the problems and moved to Fedora.

I tried to install it 1 last time, and it somehow actually worked, this time i went with i3, but now it's stuck at the login screen, after i logged in, it asked me if i want to generate config or the default one, i selected to generate, and after first question it just didn't give me the next menu, with me being stuck in the login screen, only the i3 bar appeared on the bottom, do you know what to do? i've tried going to the terminal, but none of the shortcuts seem to work

20240121_230325.jpg?ex=65c009f8&is=65ad94f8&hm=13ddd35f170dd5320c254a3172c5888a807030ccdabd3c7eaca260ac08fb8309&

Link to comment
Share on other sites

Link to post
Share on other sites

On 1/22/2024 at 12:08 AM, MiszS said:

I tried to install it 1 last time, and it somehow actually worked, this time i went with i3, but now it's stuck at the login screen, after i logged in, it asked me if i want to generate config or the default one, i selected to generate, and after first question it just didn't give me the next menu, with me being stuck in the login screen, only the i3 bar appeared on the bottom, do you know what to do? i've tried going to the terminal, but none of the shortcuts seem to work

20240121_230325.jpg?ex=65c009f8&is=65ad94f8&hm=13ddd35f170dd5320c254a3172c5888a807030ccdabd3c7eaca260ac08fb8309&

It kinda looks like you logged in, but your screen didn't refresh. The bar at the bottom shouldn't be drawing over the greeter. Try using any of i3's key combos (assuming your mod key is set) to open something and see if that works. Also, are you using archinstall, or are you installing it manually?

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, kenkku said:

It kinda looks like you logged in, but your screen didn't refresh. The bar at the bottom shouldn't be drawing over the greeter. Try using any of i3's key combos (assuming your mod key is set) to open something and see if that works. Also, are you using archinstall, or are you installing it manually?

it may actually not been broken, i just had no idea that alt + enter would be the terminal shortcut, because it makes no sense, after reinstalling it, the i3 worked fine, but i installed xfce after that, because don't rlly wanna configure everything

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×