Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
memory leak in xorg 6.8?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Sep 12, 2004 7:02 pm    Post subject: memory leak in xorg 6.8? Reply with quote

Using ati-drivers-3.11.1 I'm seeing this in free -m:

Code:

             total       used       free     shared    buffers     cached
Mem:           502        491         10          0          0        162
-/+ buffers/cache:        329        172
Swap:            0          0          0


using top and sorting per memory I'm seeing nothing that can account for that kind of memory usage, so something must be leaking.

I'm thinking it might be ati-drivers with the latest xorg, cuz I haven't seen this behavior before.

Anyone else seeing the same thing?
Back to top
View user's profile Send private message
breakerfall
Guru
Guru


Joined: 02 Aug 2003
Posts: 509
Location: Manchester, UK

PostPosted: Sun Sep 12, 2004 7:11 pm    Post subject: Reply with quote

The memory is being used. It's the way linux utilizes your memory (caching it for use with other programs, but relinquishing it when necessary).

If you do a search in the forums, you should find a very nice and informing post which gives quite a few details about how/why it's like this. :)

I have 1GB of RAM, free -m shows:

Code:
free -m
             total       used       free     shared    buffers     cached
Mem:          1011        785        226          0        111        543
-/+ buffers/cache:        130        881
Swap:          494          0        494


But using Torsmo (system monitor) I can see that currently, only 100+ MBs are in use. Don't worry about it.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Mon Sep 13, 2004 11:35 am    Post subject: Reply with quote

your currently using 130mb, which makes sense, especially if your using something like kde which does some light caching itself.

I'm using 329mb with basically nothing running.


I'm well aware of how linux deals with memory.
Back to top
View user's profile Send private message
breakerfall
Guru
Guru


Joined: 02 Aug 2003
Posts: 509
Location: Manchester, UK

PostPosted: Mon Sep 13, 2004 11:50 am    Post subject: Reply with quote

Should have paid more attention to your free output... my bad. :)
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Mon Sep 13, 2004 2:56 pm    Post subject: Reply with quote

Yesterday I had X taking 81MB of ram. That was kind of high.
Back to top
View user's profile Send private message
Dutchie
n00b
n00b


Joined: 07 Nov 2003
Posts: 70
Location: NL

PostPosted: Mon Sep 13, 2004 3:09 pm    Post subject: Reply with quote

If you use kde , startup Info Center
There you can see what how your memory used

Gr
D
Back to top
View user's profile Send private message
andrew_j_w
Guru
Guru


Joined: 28 Jun 2003
Posts: 534
Location: York, UK

PostPosted: Mon Sep 13, 2004 3:41 pm    Post subject: Reply with quote

Remember that the latest xorg with composite enabled gives each application its own area of memory to draw to. These are then composited together to give the final image.

You don't say whether you're using composite or not, but if you are expect memory usage to be much higher than without. Perhaps not *that* high though...

Andrew
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Mon Sep 13, 2004 5:39 pm    Post subject: Reply with quote

Epyon wrote:
Yesterday I had X taking 81MB of ram. That was kind of high.


shared memory, not a big deal.

Dutchie wrote:
If you use kde , startup Info Center
There you can see what how your memory used

Gr
D


so can top, and unfortunatly I can't see it, which makes me think the radeon kernel module is the leak.

andrew_j_w wrote:
Remember that the latest xorg with composite enabled gives each application its own area of memory to draw to. These are then composited together to give the final image.

You don't say whether you're using composite or not, but if you are expect memory usage to be much higher than without. Perhaps not *that* high though...

Andrew


not using composite or loading the composite module on this box.

//edit, considering I've seen huge memory usage without it swapping now, I'm starting to think it might be Con Kolivas'es work on caching and memory that's causing the odd top output. And that I really dont have a problem here at all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum