xorg memory leak

Mackenzie Morgan macoafi at gmail.com
Tue Dec 27 02:03:11 UTC 2011

On Sat, Dec 24, 2011 at 11:42 AM, let rec <shweduke at gmail.com> wrote:
> Hi,
> I'm experiencing a huge memory leak in xorg.
> Sometimes virtual memory size gets up to 12 Gb (I'm not sure how it's
> possible on a machine with 2Gb of memory and 2Gb of swap).

Virtual is how much it thinks it has access to, not necessarily how
much it's actually got holding bits. I usually go by the "resident"
column.  Xorg is a special beast because it's got so many processes
running under it. Its CPU usage also looks high, but when I've asked X
type people about that before, they said it means some graphical
application is spamming X with requests and X is trying to keep up
with them, so I'd actually look at seeing what happens with killing
individual applications and which makes a big difference to X's
resource usage.

> top - 00:40:51 up 1 day,  6:54,  9 users,  load average: 0.20, 0.18, 0.15
> Tasks: 141 total,   1 running, 140 sleeping,   0 stopped,   0 zombie
> Cpu(s): 30.6%us, 11.5%sy,  0.0%ni, 57.0%id,  0.0%wa,  0.0%hi,  1.0%si,
> 0.0%st
> Mem:   2056332k total,  1985548k used,    70784k free,      804k buffers
> Swap:  1998844k total,   101084k used,  1897760k free,   191648k cached
> 29075 root      20   0 8373m 692m  29m S   29 34.5  11:22.99
> Xorg

Mackenzie Morgan

More information about the kubuntu-devel mailing list