View previous topic :: View next topic |
Author |
Message |
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Sun Sep 12, 2004 7:02 pm Post subject: memory leak in xorg 6.8? |
|
|
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 |
|
|
breakerfall Guru
Joined: 02 Aug 2003 Posts: 509 Location: Manchester, UK
|
Posted: Sun Sep 12, 2004 7:11 pm Post subject: |
|
|
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 |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Mon Sep 13, 2004 11:35 am Post subject: |
|
|
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 |
|
|
breakerfall Guru
Joined: 02 Aug 2003 Posts: 509 Location: Manchester, UK
|
Posted: Mon Sep 13, 2004 11:50 am Post subject: |
|
|
Should have paid more attention to your free output... my bad. |
|
Back to top |
|
|
Epyon l33t
Joined: 11 Sep 2003 Posts: 754 Location: NJ, USA
|
Posted: Mon Sep 13, 2004 2:56 pm Post subject: |
|
|
Yesterday I had X taking 81MB of ram. That was kind of high. |
|
Back to top |
|
|
Dutchie n00b
Joined: 07 Nov 2003 Posts: 70 Location: NL
|
Posted: Mon Sep 13, 2004 3:09 pm Post subject: |
|
|
If you use kde , startup Info Center
There you can see what how your memory used
Gr
D |
|
Back to top |
|
|
andrew_j_w Guru
Joined: 28 Jun 2003 Posts: 534 Location: York, UK
|
Posted: Mon Sep 13, 2004 3:41 pm Post subject: |
|
|
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 |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Mon Sep 13, 2004 5:39 pm Post subject: |
|
|
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 |
|
|
|