Red Hat Bugzilla – Bug 120677
X resource leakage
Last modified: 2007-11-30 17:10:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
Not too long ago Bill Nottingham added xrestop to Fedora so we/he
could track application leaking resources.
Using GNUS (as a newsreader), it appears that emacs leaks a lot of
resources when it displays images internally (inside its window
instead of launching eog). The more images it displays the more memory
Here's the output of xrestop for an instance of emacs that has been up
for 2 days:
xrestop - Display: localhost:0
Monitoring 20 clients. XErrors: 0
Pixmaps: 190071K total, Other: 136K total, All:
res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID
1a00000 8 84 6 158 133 177726K 11K 177737K ?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start emacs
2. Go on usenet and reads some binaries forums (for me it's
3. Look at emacs eating your memory
Any better with cvs emacs?
in particular with gtk2 support
Ok, just got cvs emacs this morning, compiled it using "configure
--with-gtk && setarch i386 make bootstrap" and the problem is still
Thanks for testing with cvs Emacs too. :-)
I recommend reporting this issue upstream: eg on emacs-devel.