You are not logged in.

#1 2010-08-30 19:25:41

cipher79
Member
Registered: 2009-06-21
Posts: 24

Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

Hello everyone,


everytime I install a new version of KDE the memory usage increases dramatically. Right now, the free command show around 1 GB of memory usage after startup. Since alot of people write here and in other forums that KDE uses much less memory, I got quite curios about KDE.

I still can remember on the first stable version (4.2), where KDE required around 350 Megs on the same machine...



Anyone got an idea?


Thanx

Offline

#2 2010-08-30 19:43:33

Cape
Member
From: Mogliano Veneto, Italy
Registered: 2008-11-15
Posts: 105

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

I have no idea... i've just installed KDE 4.5 on a eeepc 900HD and it's around 450Mb after boot... Check your daemon settings and be sure to not launch strange app when you start KDE..

Offline

#3 2010-08-30 19:52:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

Paste that 'free -m' here.

Offline

#4 2010-08-30 19:55:55

cipher79
Member
Registered: 2009-06-21
Posts: 24

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

Hello,
here is the free -m result


                   total       used       free     shared    buffers     cached
Mem:          3959       1370       2588          0         47        432
-/+ buffers/cache:        890       3068
Swap:         3812          0       3812


Here is the part of my rc.conf


DAEMONS=(syslog-ng !network netfs crond hal alsa laptop-mode wicd kdm)

Offline

#5 2010-08-30 20:00:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

-/+ buffers/cache:        890       3068

It means you use less than 900 MB.

Offline

#6 2010-08-30 20:18:32

cipher79
Member
Registered: 2009-06-21
Posts: 24

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

yes i know

but 900 Mb is a lot more than 450...

Offline

#7 2010-08-30 20:20:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

KDE is a beast. Use e.g. htop to track the major offenders: which apps are using the most memory?

Offline

#8 2010-08-30 21:35:01

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

It is always your config:
Netbook with KDE 4.5after boot takes 85MB
Laptop with the same KDE version takes 170MB (more "fun" stuff enabled)
I don't think KDE is such a beast though it does require more careful configuration.

Offline

#9 2010-08-30 21:43:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

broch wrote:

It is always your config:
Netbook with KDE 4.5after boot takes 85MB
Laptop with the same KDE version takes 170MB (more "fun" stuff enabled)
I don't think KDE is such a beast though it does require more careful configuration.

I mean that KDE has many apps, the more you use, the higher memory usage. It's not possible to say "Oh, high memory usage with KDE - it must be xyz".
"Bare" KDE isn't heavy, but if you run Amarok and other goodies, you have to "pay" for it :-)

Offline

#10 2010-08-31 00:16:32

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

cipher: please reboot your machine completely and show us the output of the "free" command immediately after the desktop is ready and you have NOT loaded any other applications, nor have any autostarted apps other than base KDE.

Also show us the output of "ps aux", right after you do the free command.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#11 2010-08-31 11:02:53

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

I would like to note that KDE uses more memory to run it's applications when more memory is available to be used. When there isn't a lot of free memory, KDE tends to use less memory. However, I would also state that trying to use KDE with 512 or less memory would not be a good idea.

Right now KDE 4.5 is using 615 MB of my 4 GB memory, with over 2 GB cached and only like 215 MB free. However if my computer needs some of that cached memory for another action, KDE will gladly return it to the computer to be used and run on less cached memory just as well as it is running now.

Also note that memory not being used or cached is wasted memory and is just as expensive as memory that is being used.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#12 2010-08-31 15:42:56

mits
Member
From: Bucharest/Romania
Registered: 2008-01-10
Posts: 129

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

My free -m with kde4.5

[user@dell ~]$ free -m
             total       used       free     shared    buffers     cached
Mem:          3927       2141       1785          0        100       1077
-/+ buffers/cache:        963       2963
Swap:         1536          0       1536 

I had: blueman, ktorrent, firefox, desktop efects & daisy, ram, cpu plasmoids running and folowing daemons: syslog-ng hal @sensors @bluetooth @alsa @cpufreq  @cpudyn @networkmanager @kdm @cdemud @cups
Ram is intended to be used and you have enough ram (as me).
You can't have heavy/candy/user frendly desktop like kde/gnome and few ram used.
If your sistem is responsive all is ok.
If you want more free RAM/CPU, disable strigi and nepomuk services from systemsettings/desktop search.

Last edited by mits (2010-08-31 16:59:31)

Offline

#13 2010-08-31 21:19:42

Eagleheart
Member
Registered: 2010-03-03
Posts: 10

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

I run KDE 4.5 on a computer with 1 GB of RAM memory, without Strigi and all that heavy stuff, my computer starts using 169 MB of RAM memory.


Sancte Michaele Archangele, defende nos in proelio adversvm malvs

Offline

#14 2010-09-01 08:06:55

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

why is using much ram a bad thing?

more ram consumption means first of all less disk-reads since ram is connected much more directly to the cpu than your harddrive.

btw: i recently switched from kde to openbox. but there i got the very same problem. i got it on my desktop with 4gig of ram and on my netbook with 1gig of ram. on the netbook openbox only uses about 70megs after boot. and my desktop needs about 200. so it is really all about the caching.
the same thing happens very extensively with chromium.

so as long as you so not encounter any hickups or sluggishness you really should not care.

very few applications like gimp or blender are able to REALLY need all your ram. as far as it comes to desktop use. :-) so please do not worry and do not blame kde :-) it is a general 'issue'...


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#15 2010-09-01 11:56:56

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

Offline

#16 2010-09-01 17:29:49

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

Wintervenom wrote:

i was really looking for this but did not remember what to google for :-)


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#17 2010-09-20 00:22:44

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Arch Linux KDE 4.5 Memory Usage ~ 1.2 GB

You should not use free for memory related stuff, use top to figure out what processes are eating your ram, if it's X running xrestop to see which programs are caching an unreasonnable amount of pixmaps (probably plasma) may help, otherwise ksysguard has a detailed memory information tool which will gave you ram usage per library loaded. Or you can go with heavy artillery and run exmap.


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

Board footer

Powered by FluxBB