PDA

View Full Version : [all variants] Xorg uses too much Memory



theharshone
February 13th, 2009, 10:17 AM
hey,
After a while of using Kubuntu, xorg starts using ridiculous amounts of memory which slows down my entire system. I have 1.5 GB of RAM and ~2.7 GB swap. Xorg uses like 300MB of memory! Is this a memory leak or bug? How can I minimize Xorg's memory usage. I am not running any compositing software (either compiz or kwin)

itang sanjana
February 13th, 2009, 11:25 AM
it's already been reported as a bug per this https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/92882 but with no solution? though.

theharshone
February 16th, 2009, 08:36 AM
hmmmm That bug is pretty old. How much memory does Xorg use on your computers?

zika
February 16th, 2009, 10:04 AM
hmmmm That bug is pretty old. How much memory does Xorg use on your computers?
one FF window open with two tabs: 450 MiB(virtual)

ShaunByres
February 16th, 2009, 10:12 AM
For some reason, on my previous distro's I have never had any memory leak problem with Xorg. Is it an update or something causing this problem?

S3NATOR
February 21st, 2009, 07:51 PM
I seem to be having this problem too. I did some searching and it looks like there has been xorg memory leaks in the past but most of the posts I found are from a year or so ago. I'm using both Ubuntu 8.10 32-bit and 64-bit on 2 different PC's. Starting yesterday xorg started taking up massive amounts of memory and swap file. My 64-bit machine has 8GiB of memmory and xorg is now taking up 4.2GB overnight while it sat idle. Both of these PC's recently downloaded some updates. Could there be a bug in one of the updates? How can I go back and see what updates I downloaded? Also, here is a screenshot from my 64-bit machine:

Link (http://img.photobucket.com/albums/v640/Senator24/PC/memory2.png)

Thanks,
S3N

S3NATOR
February 25th, 2009, 04:08 PM
Sorry for the double post but I figured I should post my findings on my solution. I believe I have narrowed the problem down. Turns out in my case I don't think it has anything to do with Xorg. It just so happens that on the same day on both of my machines I started using a desktop wallpaper slideshow that slowly alternates wallpapers throughout the day using a .xml file. I disabled that and now Xorg has stopped using massive amounts of memory. Hopefully this helps others.


S3N

zika
February 25th, 2009, 04:27 PM
just for sake of (whim)-testing I reverted my machine to open-source video driver (ATI-radeon) from ATI restricted 9.2 and I've seen massive decrease in memory usage by Xorg. and, what is even more important, memory usage is contained regardless of kind of applications and videos etc used ... since I do not use compiz and similar stuff I'm hooked on open-source driver for some time.

theharshone
February 27th, 2009, 09:28 AM
Sorry for the double post but I figured I should post my findings on my solution. I believe I have narrowed the problem down. Turns out in my case I don't think it has anything to do with Xorg. It just so happens that on the same day on both of my machines I started using a desktop wallpaper slideshow that slowly alternates wallpapers throughout the day using a .xml file. I disabled that and now Xorg has stopped using massive amounts of memory. Hopefully this helps others.


S3N

Hmmm. Interesting. I'll try that and post what happens.