Memory leak in xorg?
Maseood Raisi
amrmesh at gmail.com
Sun Feb 3 11:56:19 UTC 2013
On 02/03/2013 02:26 PM, Roberto Ragusa wrote:
> On 02/03/2013 12:47 AM, Maseood Raisi wrote:
>> I use xorg-x11-server-Xorg-1.12.4-2.fc17.x86_64 with priority Nvidia
>> Driver with KDM-Kwin-KDE ...
>>
>> I don't know which one has memory leak but plasma-desktop and kwin and
>> kdm use normal memory (I mean after working for some days with my
>> system, the memory usage of them is the same or very little change)
>> but the X process collect my ram and won't get it back, if I continue to
>> use my system, it can reach 700 MiB or even going over GiB ...
>> I don't know wich one have memory leak (if this is realy a leak)
>>
>> can anyone help?
>>
>> what is this in line 6 of pmap output? (it's growing as I work with my
>> system and it won't release the memory)
>> 0000000001944000 164852K rw--- [ anon ]
>>
>> here is X memory usage information:
>> -------------------------------------------------------------------------------------------
>> top output:
>>
>> 1114 root 20 0 370m 245m 77m R 80.4 6.6 24:09.32 X
>> -------------------------------------------------------------------------------------------
>> xrestop output:
>>
>> xrestop - Display: localhost:0
>> Monitoring 38 clients. XErrors: 0
>> Pixmaps: 39231K total, Other: 137K total, All: 39368K
>> total
>> -------------------------------------------------------------------------------------------
>> pmap 1114 output:
>>
>> 1114: /usr/bin/X :0 vt1 -background none -nolisten tcp -auth
>> /var/run/kdm/A:0-TNko1a
>> 0000000000400000 1808K r-x-- /usr/bin/Xorg
>> 00000000007c3000 12K r---- /usr/bin/Xorg
>> 00000000007c6000 44K rw--- /usr/bin/Xorg
>> 00000000007d1000 64K rw--- [ anon ]
>> 00000000009d0000 44K rw--- /usr/bin/Xorg
>> 0000000001944000 164852K rw--- [ anon ]
>
> Your pixmaps usage does not seem extremely high, but I would like to point
> you to this problem I have discovered with xorg and plasma-desktop:
>
> http://lists.x.org/archives/xorg-devel/2012-November/034555.html
>
> so you can experiment a bit.
> (BTW, my patch has been ignored until now)
>
Thanks for link, I will try it
but I don't think that this is related to just kde, or Nvidia priority
driver, because I saw the same result when I was using fedora 16 with
gnome3 and nouveau driver
I'm wondering if this problem really exist, why nobody complaining about
it? (or its just a problem with me and my configuration or used packages?)
More information about the users
mailing list