Could anyone tell me how can i pinpoint cause of a massive memory leak caused by X window system?? Right now it uses 1GB of physical memory and Virtual Memory has a size 1.6GB.How come??
What brings you to the conclusion that you have a memory leak? Based on what you stated? (I don’t think that’s a good criteria if you have no further information than that one snapshot statement). Still, from where do you get those numbers, and what is wrong with the Virtual Memory allocation ?
As i can see Virtual Memory is nothing but X Window System taking 1GB of memory??? It normally takes about (don’t remember right now) max 60 or 70MB. So 1011 MB exactly is quite too much isn’t it??
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 22.214.171.124-4-default
up 2 days 17:34, 3 users, load average: 0.24, 0.38, 0.49
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82
Just because 1 GB is assigned to Virtual Memory is not an indication of a memory leak.
Where do you get your numbers from ? Maybe by posting that, someone can chip in on this thread and explain away what I believe is some misunderstanding.
You understood me wrong:
in System Monitor it look like that:
X root around 1% 1617MB 1011MB 21MB
beginning from X is:
“Name” “User Name” “CPU%” “Virtual Size” “Memory” “Shared”
So if anyone tells me that X using 1GB of memory is just fine ill laugh at loud.
While this is a great article it doesn’t explain why normally X takes about 60 MB of memory (i can see that because cached memory etc. takes up to 7GB of memory) while now it is only 5.7GB being blocked by that 1GB used by X (which in normal cirsumstances takes as i said no more than 60MB so there MUST be something wrong, what am i talking to myself?) You try to convince me that I am wrong not the system which in Your mind is so perfect that it is so hard to admit that something is wrong.
i always think graphical tools are really sucky when you really want to know something.
what does “top” say on the CLI?
Tasks: 161 total, 1 running, 160 sleeping, 0 stopped, 0 zombie Cpu(s): 1.7%us, 0.3%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17267 stefan 20 0 99.3m 27m 15m S 2.3 2.7 105:15.31 kwin 2257 root 20 0 103m 46m 7024 S 0.7 4.6 30:13.20 X
ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww --sort=pid|grep X
i do think you are really bold in insisting everybody is wrong but you are right, i am pretty much convinced X has no memory leak in xorg-server 1.5.x, at least not in the way you seem to experience.
Well ps was confirming memory usage of X.
But no biggie, i don’t use kwin 4 anymore, back to basics KDE 3 here i come!