xfce4-panel & memory cunsumption

Olivier Fourdan fourdan at xfce.org
Mon Sep 11 19:10:42 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

Kresimir Spes wrote:
> I did that too, but no luck, here's a copy/paste from gnome-system-monitor
> 
> xfce4-panel : 4.1 MB
>     xfce-menu-plugin 5.2 MB
>     xfce-menu-plugin 4.2 MB
>     xfce-netload-plugin 3.3 MB
>     xfce-clipman-plugin 3.2 MB
>     systemload-plugin 3.0 MB
>     thunar-tpa 2.4 MB
>     genmon-plugin 1.9 MB
> 
> now c'mon, that's just too much, not even gnome's or kde's panel take as much ram

I don't necessarily observe the same things as you describe. I really,
don't mean to light up a flame war between desktops, or panels, like
"mine is smaller/lighter than yours" ;) .

But, still, let's take a look at what I can see here:

                                  Total       RSS       Shared
GTK+ "helloworld" sample program.:  12.3 Mb    5.7 Mb    4.4 Mb
Mousepad.........................:  13.8 Mb    7.3 Mb    5.6 Mb
xfwm4............................:  14.2 Mb    8.0 Mb    6.1 Mb
fbpanel..........................:  15.7 Mb    8.1 Mb    6.0 Mb
xfce4-panel......................:  20.9 Mb   11.7 Mb    6.7 Mb
gnome-panel......................:  37.8 Mb   23.4 Mb   11.2 Mb
firefox..........................: 176.4 Mb   67.0 Mb   20.7 Mb
Thunderbird......................: 102.9 Mb   30.6 Mb   18.0 Mb


The GTK+ "helloworld" sample program is probably the most simple GTK+
program one may write. It just open a window with a button that print
"Hello world" in the console when pressed. You'll probably agree that
this is not the the kind of super heavy weight application. But still,
according to gnome-system-monitor (as you mentionned it), it uses 5.7
Mb of RSS (Resident memory for text and data). Quite a lot, and that
doesn't come from the progarm itself, but rather from gtk+ and its
dependencies.

You also mentionned fbpanel. Originally, fbpanel did not use any toolkit
at all but Xlib. But recent versions uses gtk+ and fbpanel (the latest
from SF.net, version 4.5) uses also quite a lot of memory. Not too far
from the xfce panel, but with a lot less functionality IMHO.

I've also listed Firefox and Thunderbird, just for the record. I don't
think that the xfce panel uses that much memory, compared to others,
given the amount of memory used by GTK+ itself.

Don't you think so?

Cheers,
Olivier.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFBZiSFHBtvh5LRUARAloaAJ47pG+p3ElFM9gtVfNvWghhEpkiRACePkMD
Nk0d+dSnCh9N7KddP98xDjI=
=ZI4T
-----END PGP SIGNATURE-----



More information about the Xfce mailing list