Why does the Xorg server reset the output when last client disconnects?

Daniel Stone daniel at fooishbar.org
Wed May 2 10:38:38 PDT 2007


On Wed, May 02, 2007 at 12:09:02PM -0400, Joel Feiner wrote:
> Memory leaks are NOT a thing of the past.  I have a serious one right now,
> where using Firefox and visiting pages with a lot of images causes the X
> server to leak a huge amount of heap memory, to the point that it uses up
> approximately 800 MB of my 1 gig of RAM and I have to restart the X server
> frequently.  There are other leaks that are slower, but they're still
> there.

Unless this is some staggering new bug we've not seen before, this is
just Firefox allocating _heaps_ of pixmaps and never bothering to free
them (you can confirm this with xrestop).  Closing Firefox undoes the
damage.

(I've had Firefox use 1.1GB of RAM and the X server use around 400MB
before.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070502/6a06781b/attachment.pgp>


More information about the xorg mailing list