You are not logged in.

1

Thursday, June 5th 2003, 6:40pm

Is there a memory leak or something in kde? (kdeinit)

Heya,

This has been bugging me for a very long time, but I keep forgeting to bring it up.

My home machine (a stock RH 8.0 box, 2.4.20-18 kernel) is normally switched off at the end of the day, and then turned on again in the morning. However, when I leave it on overnight this is what happens:

I leave the machine in the desktop, with no programs running (everything is closed). GKrellm tells me that most of my mem is free, and I can confirm this when I do top.

However, when I wake up and want to do something, the mem is running EXTREMELY low, and the machine is slow as hell. I investigated a little, and found that the kdeinit processes have chowed HUGE amounts of memory, even though they are idle. Basically the kdeinit-kicker, kdeinit-desktop, and so on consume all the available memory, and nothing short of reboot fixes this.

Why is this happening? How do I stop it? Please don't tell me to switch to a WM instead of KDE, that's not the point, I want to know why do these processes consume so much memory when left alone?

Cheers!

Incubator

Beginner

Posts: 39

Location: Belgium

Occupation: Student

  • Send private message

2

Thursday, June 5th 2003, 7:46pm

what version of kde do you have?
there are some mem leaks with 3.1 yes so if you have this then it could be solved by upgrading

3

Thursday, June 5th 2003, 8:28pm

It is definitely not KDE 3.1, it is the one which was shipped with RH 8.0, it is KDE 3.0.3. I was thinking that maybe upgrading to KDE 3.1 will solve the problems, I have also heard that RH broke something in KDE for the release of 8.0.

Is this (kdeinint taking up progressivelly more and more memory when the system is idling) a known issue? And do you think that upgrading to KDE 3.1 will solve the problem?

If that is the case, can I upgrade throught the APT4RPM, because I will be lost if I have to compile the whole thing.

Please let me know, I am using WindowMaker at the moment and I am not nearly as productive as when in KDE.

Incubator

Beginner

Posts: 39

Location: Belgium

Occupation: Student

  • Send private message

4

Thursday, June 5th 2003, 8:33pm

download kde 3.1.1 (wich has patches bugfixes and security fixes that hampered in kde 3.1)
but get the RPM packages. install those and you´re set.
Of course kde 3.1.2 has even more fixes, but there are no rpm´s for RH8, only for RH9

Personally i havent encountered this problem yet.
I used mandrake 9.1 with kde 3.1 and except for a buggy harddrake, everything was ok for me

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

5

Friday, June 6th 2003, 12:03am

i know what you are talking about, vlad. I am running RH9.0 and after about 2 hours on my machine i have no free memory.

however apparently this is normal, as redhat likes to put all of its most recently used files/apps into cached memory. i know this is annoying, and sometimes it can really slow down your machine but theoretically red hat should be freeing up this cache as needed. Currently i am unaware of how to circumvent this `cachin', if needed.

6

Friday, June 6th 2003, 10:33pm

I've been running RH9 for about a week, and I just noticed this today. It's bad enough that XWindows sucks up half the available memory (270MB), but then every instance of kdeinit allocates another 17MB. Even when everything is shut down and no apps are running, this memory is not reclaimed, and starts eating into the swap space (which isn't bad, except that it slows things down quite a bit). Running gnome, XWindows still hogs the memory, but it requires nowhere NEAR the amount of resources...the allocated memory hovers around 280MB, even with 20 or so windows open from various apps. I'm running KDE-3.1.1-0.8x.1.