Xorg memory leak

Peter Jeremy peterjeremy at optushome.com.au
Wed Jan 2 14:43:40 PST 2008

On Wed, Jan 02, 2008 at 11:26:33AM -0500, Coleman Kane wrote:
>I'm running into some weird problem where the memory usage of Xorg will
>keep increasing and increasing as time goes on. I first noticed teh
>problem when I had a long-running process inside of gnome-terminal that
>was constantly dumping lines of data to stdout. Eventually the memory
>usage of the Xorg process would spiral out of control (Virtual Size in
>excess of 6GB). Upon reaching maximum memory utilization, X clients
>begin to die with BadAlloc errors and the only way to fix the problem is
>to stop Xorg and then restart it.

This could also be caused by a resource leak or deliberate action by a
client.  Firefox in particular will "cache" all images in the X server
and this can make the X server bloat alarmingly (though the biggest
size I've seen is 1.5GB).

Have you tried exiting from long-running clients to identify if the
problem is on the server or client side?

Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20080102/5ef2991c/attachment.pgp

More information about the freebsd-x11 mailing list