r/AlpineLinux • • Oct 19 '26

is 600mb ram usage with sway normal?

so i just installed alpine and without sway it used 400 mb ram,people are telling me 600 is high for alpine so is that normal?

1 Upvotes

15 comments sorted by

3

u/Nu154nc3 Oct 19 '26

What are u running when tested memory without sway?

Is the measure taken on a freshly booted system?

Was pipewire running? Any DM? Just tty? How do u do the mem readings?

As far as i know, sway mem usage is around 200MB...

So, in any case the sway RAM usage looks normal...

1

u/exylvii Oct 20 '26

i install fresh alpine install (no dm, no dbus, nothing) and it already takes like 300mb idle

1

u/Nu154nc3 Oct 20 '26

Yesterday checked for first time in years mine, and it was around 412mb using i3 with dbus with LightDM, basic system perf. monitor with i3blocks, pipewire, and all the essential services for a fully working desktop...

And few weeks ago, people was reportin 150mb base installations...

It looks like ur ram usage is a bit higher... But not sure if should be considered an anomaly as evey system is different...

Do u checked enabled sercices with 'rc-status -a' ?

And sorting processes for mem usage as i told u before?

1

u/exylvii Oct 26 '26

btw can the ram amount matter? i have 16gb of ram so that might be the reason why ram consumption is bigger

1

u/Nu154nc3 Oct 26 '26

I have 32gb... Shouldn't affect on a freshly booted system afaik...

0

u/Nocash- Oct 19 '26

I was runing fastfetch,freshly booted

2

u/Nu154nc3 Oct 19 '26

I assume u did the test on a tty shell...

Not sure how Fastferch takes the memory readings... try with "free -h" and see if value changes...

1

u/Nocash- Oct 19 '26

total 14.5 used 334mb free 13.9g buff/cache 221mb

1

u/Nu154nc3 Oct 19 '26

I write another comment before... If u want to check what is "eating" your Ram, one of the easiest tools is "htop".

Pressing F6 allows u to sort running services for whatever u want...

Set PERCENT_MEM and scroll... Just check if there is something that shouldn't be there...

1

u/Nu154nc3 Oct 19 '26

Alpine can be extremely lightweight, but to have a minimal usable desktop, some services needs to be working, and increase the base RAM usage...

Things like dbus, audio daemon (pipewire, alsa or pulse), polkit, some DM (not necessary, just QoL) are some of the essentials...

1

u/EYEHKEYER_yeker Oct 20 '26

use free -m isntead

1

u/bra1n_gym Oct 21 '26

Why are people suggesting free and fastfetch? Isn't top or htop the best tool in this case? you can filter processes to monitor sway.

1

u/ipsirc Oct 21 '26

btop

1

u/bra1n_gym Oct 21 '26

I like btop, but everyone isn't rooted.

1

u/EYEHKEYER_yeker Oct 20 '26

im on 2x4 gb ram and mine uses 120mib with dbus