Red Hat Bugzilla – Bug 76410
memory leak causes swap file to max and crashes system
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
Switch desktop from Gnome to KDE and back to Gnome. Then each instance of
gnome-terminal starts gobbling up memory eventually causing swap file to fill up
completely, slowing response to look crashed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install RH 8.0 workstation with both Gnome & KDE.
2.Switch sessions to KDE and then back to Gnome.
3.Start system monitor to monitor processes & memory.
3.Launch gnome-terminal and do stuff.
4.Notice that memory allocated to gnome-terminal starts increasing 60 MB, 80 MB,
140 MB, ....
5. Notice that as memory consumption increases that swap file starts to fill.
6. System response starts to slow down.
7. Killing gnome-terminal fails to release swap space.
Actual Results: System response slows down to appear crashed.
Killing gnome-terminal does not release main memory or swap space.
Expected Results: Memory consumption for gnome-terminal should remain flat.
Memory should be returned to system after process termination.
Swap space should recover after process termination.
If you run "xdpyinfo", is RENDER one of the listed extensions?
RENDER is NOT one of the extensions shown when I run xdpyinfo.
The memory leak can also be observed if:
1. gnome-terminal is invoked from a Sun/solaris X-display server.
2. gnome-terminal is invoked from VNC.
In both cases an error message is displayed (on the invoking termin (Sun) or in the VNC logs:
Xlib: extension "RENDER" is missing on display
Actually the bug to me anyway seems to be more noticeable when using vnc, I've
even tried checking the settings of my terminal sessions following a few
suggestions from research I have done and I don't see an alternative way around
the bug (unless another desktop is used). Any idea when a resolution may come
about or a way to bypass the bug, until it is resolved?
It's possible that disabling antialiasing would avoid the bug,
though I'm not sure. We need an Xft update for it, it's an Xft bug.
(All apps using Xft should in fact have the leak - including all GNOME and KDE
apps - g-t seems to just draw more text than most apps.)
If it makes any difference in redhat 7.3 I did not see this problem, I could
have more than 1 gnome-terminal opened for days on end without any problems.
What are the steps to disabling antialiasing? I could try it out and see what
*** This bug has been marked as a duplicate of 76219 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.