Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 4694 - XFree86 leaks memory
XFree86 leaks memory
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-08-24 16:57 EDT by hkelle
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-29 12:16:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description hkelle 1999-08-24 16:57:07 EDT
Over time, the memory used by XFree86 increases.
It seems to be related to how many processes
use the X server. When I start X on my computer
the X server uses 11Mb (1280x1024 32bpp).
After opening 20 konsole processes and 20
netscape-communicator processes
and closing them again the X server uses 22Mb.
Further usage of X increases the memory used.
I'm using the XF86_SVGA server and a friend also having
this problem is using the XF86_Mach64 server.
The problem has been seen under both KDE (1.1.2 snapshot)
and fvwm (shipped with redhat6 and then using xterm
instead of konsole).
We've seen the memory usage of X go up to 90Mb.
Comment 1 wwong6 1999-08-28 02:05:59 EDT
    After I quit X and went back to the shell, I found some of the
xterm did not remove.

    I login into the system as 'root' and runs X windows
(startx, using FBDev) with GNOME. I open several 'xterm', when
I leave, I did not close those 'xterm' and I just choose logout
under GNOME. So, I go back to the linux shell. When I use top to
check the memory usage, I found those 'xterm' still exist and taking
up resources.

     I've try this under GNOME, xdm (fvwm95) and I still get the
same thing, but I did not try this under KDE. I use the regular
'xterm', not the 'GNOME-terminal'.

     I am not sure I have to remove all xterm myself before I quit or
this is a bug or I did something wrong.

     I am using redhat 6.0, distribution under info-magic 6 CD set.

     Please check, thank you for your time.

     Name: Wai Lun  Wong.
    email: wwong6@hotmail.com
Comment 2 Preston Brown 1999-08-29 12:16:59 EDT
make sure you have the XFree86 and utempter errata files, they fix the
"xterms not dying" problem.

X isn't really leaking memory.  When programs use X pixmaps, they take
up server memory.  kfm is a big culprit here, and the KDE team knows
about it, they are working on fixing the problem for KDE 2.0.
Netscape is another beast, but i doubt that AOL is going to fix this.

Basically, there is nothing that can be done about this other than to
write "smarter" and more "lightweight" X clients.

Note You need to log in before you can comment on or make changes to this bug.