Memory leak in X server?

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Mar 1 11:56:47 PST 2007


Daniel Stone wrote:
> 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.
>   

I closed out Firefox (1.5.0.10-1.fc5) but even so, xrestop showed
less memory usage, but not "top":

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
30485 root       5 -10  249m  53m  12m S  4.3  5.6 294:37.48 Xorg






More information about the xorg mailing list