This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Huge memory leak in kde4 process!

Tags: None
(comma "," separated)
ttilt
Registered Member
Posts
4
Karma
0
OS

Huge memory leak in kde4 process!

Tue Jun 14, 2011 12:33 pm
Ever since i installed kubuntu early this year I had found a memory leak in the kde4 process (heap region) to the point of making Kubuntu unusable. I've been waiting for it to get fixed but no change in the latest kde version so I've decided to post here to let others know about it.

My laptop has 3 gb of RAM + 5 gb of SWAP. In a matter of 2 hrs all of that memory is exhausted. The heap region of the kde4 process grows continually until there's no more swap at which point the laptop freezes w/ non-stop disk access taking place.

Anyone else seen this BUG?

Laptop details:
HP G60 (amd turion dual-core RM-72)
kubuntu 11.04 64-bits (natty)

Image
Image


Thanks,
JC
User avatar
google01103
Manager
Posts
6668
Karma
25
did some Googling and found some similar posts including this bug, https://bugs.kde.org/show_bug.cgi?id=206317 and this post http://kubuntuforums.net/forums/index.p ... =3116758.0

there is the suggestion that it's a power management problem (at least for these posters), try disabling power management in systemsettings -> system admin -> startup & shutdown -> service manager then reboot to see if this is indeed your problem


OpenSuse Leap 42.1 x64, Plasma 5.x

ttilt
Registered Member
Posts
4
Karma
0
OS
google01103 wrote:did some Googling and found some similar posts including this bug, https://bugs.kde.org/show_bug.cgi?id=206317 and this post http://kubuntuforums.net/forums/index.p ... =3116758.0

there is the suggestion that it's a power management problem (at least for these posters), try disabling power management in systemsettings -> system admin -> startup & shutdown -> service manager then reboot to see if this is indeed your problem


Wow that solved it! KDE is now much faster too. Thanks!
Has this been posted as an official bug ?
User avatar
google01103
Manager
Posts
6668
Karma
25
pleas add your experience to https://bugs.kde.org/show_bug.cgi?id=206317


OpenSuse Leap 42.1 x64, Plasma 5.x

ttilt
Registered Member
Posts
4
Karma
0
OS
just 1 more question. ANy idea how to hibernate the laptop now that power management is off?
User avatar
google01103
Manager
Posts
6668
Karma
25
these are the commands but no idea if they'll run (think they should) and if so if the system will restart properly as I've never tried. If it works you should check if they restart the power management daemon when you restart.

suspend to disk: powersave -U
suspend to ram: powersave -u


OpenSuse Leap 42.1 x64, Plasma 5.x

ttilt
Registered Member
Posts
4
Karma
0
OS

Re: Huge memory leak in kde4 process!

Wed Jun 15, 2011 11:56 am
I didn't have the powersave cmd, so I used
/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux
The only problem is that it doesn't prompt for password when coming back from hibernation.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Huge memory leak in kde4 process!

Wed Jun 15, 2011 12:21 pm
you can try this solution viewtopic.php?f=66&t=94676#p194199

fyi - at some point when you upgrade KDE you won't find HAL as it's been deprecated and replaced with udev http://en.wikipedia.org/wiki/HAL_(software)#Deprecated


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]