[desktop-discuss] Memory leaks of xfce4-cpugraph plugin
Petr Sobotka
sobotkap at students.zcu.cz
Wed Jun 6 11:54:06 PDT 2007
Hello,
Nearly after one day of uptime, desktop started to be slow.
So I took look on prstat and saw that xfce4-cpugraph plugin is eating
450MB.
I tried to preload libumem, to xfce4-panel -a and add cpugraph, plugin.
But it looks like it's ok, perhaps I do something wrong :-(
This is how I done it:
LD_PRELOAD=libumem.so UMEM_DEBUG=default,verbose
UMEM_LOGGING=transaction,contents,fail /usr/bin/xfce4-panel -a
But nothing happend, libumem didn't kill plugin ...
Is there any other way how to checks memory leaks?
My fair guess is that it doesn't free some structs which it uses to
retrieve cpus status, because on linux it doesn't leak ...
The plug-in is compiled by jds-cbe. The sources you can find here:
svn co svn+ssh://anon at svn dot opensolaris dot
org/svn/xfce/xfce-goodies/trunk xfce-goodies
This file: xfce4-cpugraph-plugin.spec
Petr
More information about the desktop-discuss
mailing list