why does KDE use a lot of Memory??

Denis Vlasenko vda at port.imtp.ilyichevsk.odessa.ua
Tue May 3 14:20:54 BST 2005


On Tuesday 03 May 2005 15:57, Jes Hall wrote:
> 
> On Tue, 3 May 2005, YuChan Park wrote:
> 
> > Hello Kders.. :)
> >
> > My system is running on KDE 3.4.0 and Fedora 3.
> >
> > KDE isn't slow but obtain a lot of system memory.
> >
> > Need KDE a huge memory for running?
> 
> 
> The way Linux manages memory is a little different to other operating 
> sytems, especially Windows. These links have a lot of information about 
> it:
> 
> http://forums.gentoo.org/viewtopic.php?t=175419
> http://developer.kde.org/documentation/other/shared_memory.html
> 
> Memory usage reported in top can be very misleading. As long as you're not 
> swapping out excessively, having a lot of memory in use is not a bad 
> thing, especially if everything is still responsive and doen't seem slow

You are implying that KDE does not excessively eats memory.

I think you will change your opinion if you boot your box with mem=128M
kernel parameter and work with that setting for several days.

Use this script (w_process):
#!/bin/sh
watch -d -n3 'pmap "'"$1"'" | grep "^[0-9a-f][0-9a-f]* " | sort -r -t " " -k2,999 | head -20'

and pick any KDE process to watch. For example, my KMail:

# w_process 1884

0825c000    12684K rwxp [heap]
40cfb000     6180K r-xp /.share/usr/app/qt-x11-free-3.2.3/lib/libqt-mt.so.3.2.3
4062f000     2612K r-xp /.share/usr/app/kde-3.1.4/lib/libkio.so.4.1.0
40013000     2584K r-xp /.share/usr/app/kde-3.1.4/lib/libkhtml.so.4.1.0
408d5000     2092K r-xp /.share/usr/app/kde-3.1.4/lib/libkdeui.so.4.1.0
08048000     2040K r-xp /.share/usr/app/kde-3.1.4/bin/kmail
40b1c000     1412K r-xp /.share/usr/app/kde-3.1.4/lib/libkdecore.so.4.1.0
416b7000     1080K r-xp /app/glibc-2.3.2/lib/libc-2.3.2.so
41498000      752K r-xp /.share/usr/X11R6-4.4.0/lib/libX11.so.6.2
4049c000      744K r-xp /.share/usr/app/kde-3.1.4/lib/libkdenetwork.so.2.0.0
...

[heap] is basically how much memory was malloc()ed.

It's KDE 3.1.4. I am interested how much KDE 3.4 eats.
--
vda

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list