The patch in xfce-goodies has now been updated. I have been running the cpugraph on my machine for a few hours now and the memory usage has not changed. Also, it "should" now support changing the number of CPU's in your machine. It should have segfaulted before if you added more physical CPU's. Sorry I can not test that on my machine :(
Doug Petr Sobotka wrote: > 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 > _______________________________________________ > desktop-discuss mailing list > desktop-discuss at opensolaris.org >
