Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118644 - Memory leak in kdesktop of kdebase-3.5.0-r1
Summary: Memory leak in kdesktop of kdebase-3.5.0-r1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 04:11 UTC by Alexander Runge
Modified: 2006-05-08 10:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
valgrind log of kdesktip run (kdesktop_valgrind.log,33.15 KB, text/plain)
2006-01-11 05:14 UTC, Alexander Runge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Runge 2006-01-11 04:11:52 UTC
Description: After upgrading from kdebase-3.5.0 to 3.5.0-r1 these days kdesktop   started leaking  memory. After KDE initilization kdesktop consumes about 20MB of RAM after 12h it consumes about 50MB and after 2 days I had it at 170MB (according to top)!
I used kdebase-3.5.0 for several weeks without this specific problem.
I can manually kill and launch kdesktop without restarting the whole KDE session, which frees the allocated memory, but the behaviour is always the same.

Reproducible: always (at least on my system).

Build Date & Platform: Thu Jan 05 2006 13:51:33 GMT+0100, AthlonXP, Gentoo 2005.1
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-01-11 04:56:12 UTC
My kdestop has been running 7 days:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
caleb     6119  0.0  2.6  34664 24256 ?        S    Jan04   0:19 kdesktop

I'd say something else is going on.  Are you sure it's a leak?  You can always run it through valgrind and see what it says.
Comment 2 Alexander Runge 2006-01-11 05:14:51 UTC
Created attachment 76826 [details]
valgrind log of kdesktip run
Comment 3 Alexander Runge 2006-01-11 05:16:07 UTC
Caleb, I attached a valgrind log as you suggested. Unfortunately I can't make any sense of it... I'm not much of a programmer...


Alex!!
Comment 4 Uli Schlachter 2006-01-27 08:04:22 UTC
The log just says there is no memleak.
Comment 5 Alexander Runge 2006-01-29 00:57:10 UTC
Hmm, still the problem remains... what else could it be. This is really annoying...


Alex!!!
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2006-05-07 11:18:58 UTC
Might be 

https://bugs.kde.org/show_bug.cgi?id=98597

or

https://bugs.kde.org/show_bug.cgi?id=110873


Alexander, does turning off wallpapers help you?
Comment 7 Alexander Runge 2006-05-07 21:37:55 UTC
(In reply to comment #6)
> Might be 
> 
> https://bugs.kde.org/show_bug.cgi?id=98597
> 
> or
> 
> https://bugs.kde.org/show_bug.cgi?id=110873
> 
> 
> Alexander, does turning off wallpapers help you?
> 
Looks good. I set the KDE background to plain color and made these ps 
snapshots every 15 minutes:

runge    22014  0.0  1.4  28064 15320 pts/1    S    20:56   0:03 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    20:56   0:03 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    20:56   0:03 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    20:56   0:03 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    20:56   0:03 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    20:56   0:03 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    20:56   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:04 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:05 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:05 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:05 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:05 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:05 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:05 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop
runge    22014  0.0  1.4  28064 15320 pts/1    S    May07   0:06 kdesktop

So problem lies within kdesktop's caching routine, right!?
Now, how can I live without my wallpapers ;-P
Anyway, thanks for the hint, Alex!!!
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2006-05-08 03:42:03 UTC
(In reply to comment #7)
> Now, how can I live without my wallpapers ;-P

Well, stay with your top favourite wallpaper for now. Please follow the upstream bugs.
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-05-08 10:13:26 UTC
um, missed to resolve