You are not logged in.

#1 2010-01-03 22:58:05

slate
Member
Registered: 2010-01-03
Posts: 2

xorg memory usage.

Hi there.

I am new to linux and have just recently performed another clean install of arch linux onto my system. I was just wanting find out why after running my system for about 4 hours my xorg server memory usage increased from about 30MB to 1.5GB? I dont think this is normal behaviour.

My system is
Intel Core 2 Quad Q6600
4GB DDR2 1067Mhz
Nvidida Gefore 8800GTX

running

Archlinux 64-bit
with xorg-server 1.7.3.902-1
and KDEmod4

btw, my system is entirely up to date. If needed I will move my post to the KDEmod forums, but im unsure of the likeliness that kdemod is the cause. Thanks in advance.

Last edited by slate (2010-01-03 22:59:18)

Offline

#2 2010-01-03 23:08:04

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: xorg memory usage.

It's probably fine.

It is cached memory, meaning that Xorg is just "remembering" stuff that it drew so that it can draw it faster next time. If you notice your computer slowing down, then it's a problem. Otherwise, it will be cleared as it is needed.

Try running

free -m

in a terminal and seeing what it says.

Offline

#3 2010-01-03 23:10:03

Crows
Member
From: Wales
Registered: 2008-09-05
Posts: 92

Re: xorg memory usage.

slate wrote:

1.5GB

Can I ask what tool you're using to come to that figure?

Edit: Never mind - beaten to it.

Last edited by Crows (2010-01-03 23:10:35)

Offline

#4 2010-01-04 00:51:17

slate
Member
Registered: 2010-01-03
Posts: 2

Re: xorg memory usage.

sweet thanks for the reply. oh and the tools I am using are System Monitor (from KDEmod) and top from terminal

xorgmem.png

Last edited by slate (2010-01-04 01:01:23)

Offline

#5 2010-01-14 01:04:43

Gnurou
Member
From: Tokyo
Registered: 2009-07-20
Posts: 25
Website

Re: xorg memory usage.

Just to report the same behavior with an ATI RV530GL and xf86-video-ati 6.12.4 driver. I don't think the memory consumed is cached memory (is there evidence for such behavior in X?) - this really looks like a bad memory leak.

Offline

#6 2010-01-14 01:15:18

Ultraman
Member
Registered: 2009-12-24
Posts: 242

Re: xorg memory usage.

I have to admit, I also noticed my memory usage going up. And yes that is without cache.
X is the biggest one in their, also using the open source ati driver.
I always wrote that off to libraries and what not that X could hold in memory and that way would not count as cache.
But i'm far from a memory management expert.

Last edited by Ultraman (2010-01-14 01:17:37)

Offline

#7 2010-01-14 02:20:11

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: xorg memory usage.

Greetings,

I don't know if this is helpful or not but I can tell you that on my desktop runningJWM and on my wife's laptop running KDEMod, we are not experiencing this problem. X is using only around 3% of mem of my wife's laptop for example, so it shouldn't be a kdemod issue. They both have been updated today.

Just wanted to share that since it is not an across the board issue. For further info, wife's laptop uses an intel video card while desktop uses an nvidia geforce2 and only has 1 gb ram.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#8 2010-01-14 04:07:23

insanemal
Member
From: Brisbane/Australia
Registered: 2009-05-05
Posts: 140

Re: xorg memory usage.

There is a known memory leak in the ATI R600 driver.
It only happens with specific 3D commands.

https://bugs.freedesktop.org/show_bug.cgi?id=25483

Dunno about the Nvidia one.

Offline

#9 2010-01-14 07:31:58

Gnurou
Member
From: Tokyo
Registered: 2009-07-20
Posts: 25
Website

Re: xorg memory usage.

I have disabled desktop effects (thus no 3d used) just to check and the problem still seems to be here.

Offline

#10 2010-01-15 21:16:57

Ultraman
Member
Registered: 2009-12-24
Posts: 242

Re: xorg memory usage.

insanemal wrote:

There is a known memory leak in the ATI R600 driver.
It only happens with specific 3D commands.

https://bugs.freedesktop.org/show_bug.cgi?id=25483

Dunno about the Nvidia one.

That would explain mine, I use the xf86-video-ati from the repos and use some compositing effects.

Offline

#11 2010-01-16 01:22:24

Gnurou
Member
From: Tokyo
Registered: 2009-07-20
Posts: 25
Website

Re: xorg memory usage.

Ultraman wrote:
insanemal wrote:

There is a known memory leak in the ATI R600 driver.
It only happens with specific 3D commands.

https://bugs.freedesktop.org/show_bug.cgi?id=25483

Dunno about the Nvidia one.

That would explain mine, I use the xf86-video-ati from the repos and use some compositing effects.

So do I but even after deactivating compositing the problem still seems to be there. sad

Offline

Board footer

Powered by FluxBB