Memory leak in X server?

Daniel Stone daniel at fooishbar.org
Thu Mar 1 11:08:23 PST 2007


On Thu, Mar 01, 2007 at 11:51:23AM -0700, Philip Prindeville wrote:
> I noticed that the longer that goes on, the more memory my
> X server ends up taking (growing past 1GB after a couple
> of weeks):
> 
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 30485 root       5 -10  252m  56m  14m S  5.5  6.0 265:26.68 Xorg
> 
> 
> There's not a lot of customization in my xorg.conf file.
> 
> Is this a known issue?  Are there any extensions that are
> suspect I could disable?

Note that only 56MB is used[0] by the X server, whereas the rest is gone
in mmap()ed video memory, et al.  Usually the memory consumption is
caused by runaway clients (read: Firefox).  You can install xrestop to
find any overly greedy clients.

Cheers,
Daniel

[0]: Wildly inaccurate measurement, even so.
-------------- 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/20070301/7293be5c/attachment.pgp>


More information about the xorg mailing list