Memory leak in xfdesktop?

Brian J. Tarricone bjt23 at cornell.edu
Fri May 12 20:49:50 CEST 2006


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

On 5/12/2006 10:11 AM, Mtc wrote:
> Hello,
> 
> I have noticed a few hours ago that xfdesktop (4.3.90.1) is taking about 
> 300 MB of memory, I have restarted it and after the restart the memory 
> usage according to ps was VSZ:25380 RSS:10216, after 2 hours of running 
> it was 38328 and 23380. For the next hour I had only psi, orage and 
> amarok (playing) sitting in the system tray and terminal in which i was 
> checking the memory usage was the only open window. Each time I checked 
> the memory usage kept growing, right now it is 49272 and 34156.
> 
> I don't really know what kind of information may be useful in this case 
> so let me know and I'll try to provide it.

What would be most helpful is a logfile after running the program
through valgrind (a memory debugger).  My preferred command line is
usually something like this:

G_DEBUG=always-malloc,gc-friendly valgrind --tool=memcheck \
    --leak-check=full --leak-resolution=high \
    --show-reachable=yes --num-callers=50 -v --logfile=valgrind-xfd \
    xfdesktop

(Actually, I'm not clear on the G_DEBUG env var, so that may not have
the effect I want, but it shouldn't hurt.)

If it's too unusably slow while running under valgrind (valgrind does
CPU emulation), you can try --tool=addrcheck instead of --tool=memcheck.

> By the way, after killing xfdesktop and starting it again the system 
> tray gets broken, some of the icons appear in random places on the 
> screen and the only way to fix this is removing the tray from the panel 
> and adding it again.

Xfdesktop and the panel aren't related.  Something else must be going on
here...

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEZNjO6XyW6VEeAnsRAnwhAJ9d195wiX/beuVNdenExS3dcr5qWQCgnM3K
Ec1ZhLs9a7d9uAgWg4QbvfU=
=BmvQ
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list