XServer memory usage: xrestop

Alexander Neundorf neundorf at kde.org
Mon Dec 29 11:38:57 GMT 2003


On Sunday 28 December 2003 23:38, Waldo Bastian wrote:
> Hi,
>
> Just in time to make KDE 3.2 a lean mean desktop machine [1] a very nice
> tool has been released to monitor the XServer memory usage of applications.
>
> http://www.freedesktop.org/Software/xrestop

Ok, I had a look at it.

xrestop - Display: localhost:0
          Monitoring 21 clients. XErrors: 0
          Pixmaps:   15134K total, Other:     193K total, All:   15328K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier
1c00000     4   16    5   30    3     7181K      5K   7186K  1431 XMMS
2000000   225  124   12  278  181     3259K     24K   3284K  1431 file:/ - 
Konqueror
2600000     9   23    1   73    8     2264K      1K   2266K  1431 Untitled1 - 
OpenOffice.org 1.1.0
0400000   236  126   11  246  155      901K     23K    924K  1431 Local 
Folders/kde-devel - KMail
0c00000    77   35    4  152  889      529K     27K    557K  1431 kwin
1200000    91   92    6  322  221      389K     15K    405K  1435 kicker
...

What can I learn from it ?
KDE apps in general seem to use a lot of graphic contexts and a lot of "wins".
Is this a actually a problem ? 
If yes, how can this be improved ? Or is it all deep inside Qt ?
konqy uses some of pixmap memory, xmms uses much more, OOo writer seems to use 
less. I guess the pixmap memory s used for the icons ? Anything else ? 
(styles, images in html pages, ...)

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net





More information about the kde-core-devel mailing list