I don't know if this is the proper forum for it, because I don't know how much SuSE changes the version of X they put up for download, but here goes: I have found what I think is a tremendous memory leak in X 4.1, and I'm wondering if others see what I'm seeing. I'm running 4.1.0-48 from the suse ftp site. I have top running, and I'm doing 'free' every couple of seconds, and every time I'm doing it, another couple of bytes are gone, but the real treat is when I switch to another desktop. When I come back, X has grown another couple of percentage points in memory usage, according to top and ps. This memory is never returned. It keeps growing until it hits the top, then it starts swapping, until finally the system is completely unusable, and I have to kill X. As I write this I have just restarted X. it started at about 30% memory usage, now it's at 64.9. Soon I'll have to restart again. Is anyone else seeing anything remotely like this? Anders
Hi Anders
I have found what I think is a tremendous memory leak in X 4.1, and I'm wondering if others see what I'm seeing. I'm running 4.1.0-48 from the suse ftp site. [...] As I write this I have just restarted X. it started at about 30% memory usage, now it's at 64.9. Soon I'll have to restart again.
Is anyone else seeing anything remotely like this?
Well I have had memory leaks that I could never quite locate in previous installations, but this one is very stable. Do you have an older build of XF86? I'm running 4.1.0-6 without any trouble... Best, Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks tbutler@uninetsolutions.com ICQ #12495932 AIM: Uninettm Free/Open Source Web Tools: http://www.uninetsolutions.com Christian Portal and Search Tool: http://www.faithtree.com ============== "Christian Web Services Since 1996" ==============
On Wednesday 03 October 2001 04.52, Timothy R.Butler wrote:
Hi Anders
I have found what I think is a tremendous memory leak in X 4.1, and I'm wondering if others see what I'm seeing. I'm running 4.1.0-48 from the suse ftp site.
[...]
As I write this I have just restarted X. it started at about 30% memory usage, now it's at 64.9. Soon I'll have to restart again.
Is anyone else seeing anything remotely like this?
Well I have had memory leaks that I could never quite locate in previous installations, but this one is very stable. Do you have an older build of XF86? I'm running 4.1.0-6 without any trouble...
Best, Tim
Hi, I'll try to find an older build, but I'm not touching my system until the so-6.0 download, that I finally managed to get restarted (from scratch! aaaaargh! :) is done Anders
* Anders Johansson [Wed, 3 Oct 2001 04:39:00 +0200]:
I have found what I think is a tremendous memory leak in X 4.1, and I'm wondering if others see what I'm seeing. I'm running 4.1.0-48 from the suse ftp site.
Most of that is *not* a memory leak. A memory leak would be if the server allocates memory, forgets that it allocated it and just allocates new memory. It's just that there is quite a bit of memory that the X-server allocates/needs but only frees when it's shut down. BTW, just look at the amounts of memory netscape, mozilla or staroffice allocate and you'll see that it dwarfs what the X server took for itself (most on behalf of applications). Philipp -- If builders would build houses like programmers build their software, the first woodpecker to come along would mean the end of all civilisation.
On Wednesday 03 October 2001 14.55, Philipp Thomas wrote:
* Anders Johansson [Wed, 3 Oct 2001 04:39:00 +0200]:
I have found what I think is a tremendous memory leak in X 4.1, and I'm wondering if others see what I'm seeing. I'm running 4.1.0-48 from the suse ftp site.
Most of that is *not* a memory leak. A memory leak would be if the server allocates memory, forgets that it allocated it and just allocates new memory.
Well, what would you suspect? X keeps consuming more and more memory, on the scale of about 1.5 - 2 percentage points every time I change desktop, until it's consumed all available memory, including swap in the system, at which point it crashes. I just ran window maker, and although I could see the memory comsumption going up, it was much slower than when I ran KDE. But the problem was there too. Anders
* Anders Johansson [Wed, 3 Oct 2001 15:09:45 +0200]:
Well, what would you suspect? X keeps consuming more and more memory, on the scale of about 1.5 - 2 percentage points every time I change desktop, until it's consumed all available memory, including swap in the system, at which point it crashes. I just ran window maker, and although I could see the memory comsumption going up, it was much slower than when I ran KDE. But the problem was there too.
Well, then maybe its more a problem of the window manager than of X. But I'll ask my colleagues who are core XFree86 developers and should have an answer or at least an explanation. Philipp -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390
On Wednesday 03 October 2001 21.20, Philipp Thomas wrote:
Well, then maybe its more a problem of the window manager than of X. But I'll ask my colleagues who are core XFree86 developers and should have an answer or at least an explanation.
Philipp
It looks like you're right. I've tried gnome, fvwm and ice, and I haven't seen the problem there. So far I've seen it in kde2.2.1 and, to a lesser extent, in window maker. I guess when programs allocate memory buffers and the like, it's X that actually does the allocating, so it looks like X has the problem when in fact it's the client. Thanks for the tip Anders
I have found what I think is a tremendous memory leak in X 4.1, and I'm wondering if others see what I'm seeing. I'm running 4.1.0-48 from the suse ftp site. ... Is anyone else seeing anything remotely like this?
I also have a memory leak in my SuSE installation at work. I think it is because of the Nvidia driver. At home there is no problem, using exact same versions of SuSE, KDE and X but having a Voodo3(PCI) card. /Stefan
participants (4)
-
Anders Johansson
-
philippt@t-online.de
-
Stefan Nilsen
-
Timothy R.Butler