Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I came to my computer today only to find that my X server had managed to break its two-GBs-of-RAM usage record, this time with around 3 gigs of ram used up. I checked my X logs and I don't tihnk I found anything abnormal, so what could be causing so much ram usage?
hey man, 3 gigs of ram for X is out of it, there must be a memory leak somewhere for this kind of behavior to occur. Are you using some sort a weird, memory intensive X app?. Are you using an old version of X?, I just can't see how X would be using more than 100megs max
hey man, 3 gigs of ram for X is out of it, there must be a memory leak somewhere for this kind of behavior to occur. Are you using some sort a weird, memory intensive X app?. Are you using an old version of X?, I just can't see how X would be using more than 100megs max
Nope, I'm using the one that came with openSuSE 10.2.
At this point X is taking up... 700 MBs of RAM after a reboot.
As for memory intensive apps, I'm just running KDE and I've never had a problem like this before. Just a few Konqueror windows and NetBeans apart from that. Closing everything doesn't help either.
I'm pretty sure that it'sa memory leak, but how do you deal with those? I *was* able to get 8 day uptimes and only maybe 200 MBs of RAM used my X maybe a week ago...
I might as well use Xgl... it takes up less RAM...
And by the way, this is my "X -version" output...
Code:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X Window System Version 7.1.99.902 (7.2.0 RC 2)
Release Date: 13 November 2006
X Protocol Version 11, Revision 0, Release 7.1.99.902
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-9rw0 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686
Build Date: 09 January 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Last edited by timothyb89; 03-01-2007 at 04:55 PM.
On ubuntu 9.04 (using an Intel GMA chipset), I added this at the bottom of my /etc/X11/xorg.conf file and then had no more problem after restarting the X server:
Given that this was 3 years ago, I think the problem has been long since been fixed :P
But... I had to get that 3 GB statistic from somewhere, right? Probably from ksysguard or top, but whatever. I think the problem had something to do with a bad video driver on my old memory card.
Well I had the problem currently, with a recent Linux release and it really was a nuisance. As I have a big swap space, the leaked memory just accumulated there but the machine became slower and less reactive, which was actually the side effect that made me go searching for a solution. I found quite a lot of pages about Xorg memory leaking and obviously most common drivers were poised so the problem would no per se be due to the drivers themselves. Now Xinerama is disabled on my system, the used swap space no more swells continuously, neither the memory reportedly used by the X server. Closing all apps now always brings the used memory down to just a tad more than the memory usage after startup. Hey, not having to reboot is what makes the first difference between Windows and Linux. Well actually I did not reboot, I just logged out and back in to restart the X server. But anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.