xfce4-panel & memory cunsumption
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Mon Sep 11 16:49:37 CEST 2006
Kresimir Spes wrote:
>>>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 guess most of that is cairo and gtk/gdk private data (hello world in
>>GTK+ already requires 1.2MB private data). For example, thunar-tpa's
>>data sections take 1836kB here, but it doesn't really do anything
>>spectacular except connecting to the message bus daemon and displaying
>>an icon with the current status.
>>
>>Internalizing plugins like thunar-tpa, clipman and several others may
>>help to reduce the overhead. But atleast in case of thunar-tpa that
>>requires either weird work-arounds to make sure that dbus and dbus-glib
>>is not unloaded or requires a panel that is already linked to dbus-glib.
>>
> hmm, that's probably it, but even so, it's too much (IMHO) for a panel that
> belongs to a lightweight desktop environment.
Well that's pretty much ok. Only a small amount of the memory needs to
be hot in ram/cache at any time, so a decent OS can swap out unused data
pages.
As said, we can save a few mega bytes by internalizing simple plugins.
But as you can see above the biggest chunk is the menu, which means
around 3x 5MB in your case. If you are low on memory, stop complaining
and remove the two extra menus from your panels.
Benedikt
More information about the Xfce
mailing list