KDE trunk users, backup your plasma configs, and activitymanagerrc - you’ll possibly need them in the next few days.
Ivan Čukić
dr Ivan Čukić
Author of "Functional Programming in C++", KDE developer and Free/Libre software enthusiast
For inquiries about KDE projects (requesting features, submitting bugs, asking general questions etc.), you can use:
KDE Community Forum
Bug reporting site
#plasma IRC channel
You need to contact me directly?
KDE related:
ivan.cukic [at] kde.org
Non KDE related things:
ivan [at] this domain
IRC Network: libera.chat
Nick: ivan|home
Channel: #plasma
Projects
Blog categories
Functional Programming in C++
If you like C++,
you might be interested in my book.
It contains quite a few gems
of modern C++ programming.

It is available for purchase at:

It is available for purchase at:
Patronage
Related:
Comments:
-
Oh, thanks for linking 'KDE' to the KDE website, I wouldn't have know what KDE is if you didn't link to it!
-
@<a href="#comment-24048" rel="nofollow">yay</a>: It is being done automatically... And if you mind it so much, please don't visit this blog again.
-
Ivan, a quick & dirty way to do those backups. :-) (like which files exactly)
-
Is normal that Lancelot uses 10 MB while Plasma-desktop uses 15 MB? 2/3 of plasma memory for a widget I think is high. http://yfrog.com/1flancelotmemp
Is this normal, or should I better report a bug?
-
@<a href="#comment-24051" rel="nofollow">Bruno Friedmann</a>: ~/.kde/share/config/plasma* ~/.kde/share/config/activitymanagerrc ~/.kde/share/apps/plasma*
@<a href="#comment-24052" rel="nofollow">Gres</a>: Firstly, Lancelot is not a widget, anymore than Amarok or KRunner are.
Just compare the memory usage of KRunner and Lancelot (in your case 2M difference) and then compare the complexity of both.
The largest part of taken memory is the plasma library stuff (pixmap caching - so that svgs don't need to be redrawn over and over again, ...) and that is something that will have to stay like that for now.
I was decreasing the memory usage in the past few versions, but it can't be lowered much more than that.
-
@<a href="#comment-24053" rel="nofollow">Ivan Čukić</a>: Ah, interesting, I didn't know that. Thanks for the info!
-
@<a href="#comment-24051" rel="nofollow">Bruno Friedmann</a>: Well, plasma-desktop takes between 1G and 1.3G here :)
-
@<a href="#comment-24119" rel="nofollow">Wonko</a>: You're joking, right? What applets are you using?
-
@<a href="#comment-24121" rel="nofollow">Ivan Čukić</a>: No. This started happening after the upgrade from 4.5.1 to 4.5.2, so this probably is some nasty bug. During login, or after a plasma crash, it takes 3-4 minutes until the desktop appears again, and during this time I can watch the memory for the plasma-desktop process climb up to 1.3G.
I don't think I use too many plasmoids. But I have 8 desktops, each with its own activity. <a href="http://www.wonkology.org/comp/desktop/2010-06-19/" rel="nofollow">Here</a> are some screenshots I made while ago, my current setup is quite similar.
I guess I could 'solve' this by removing my .kde4/share/config/plasma-desktop-appletsrc, or better plasma* maybe, and recreate my plasma stuff from scratch. Would this be safe?
Should I submit a bug for this, along with my plasma-desktop-appletsrc? But I guess it would be hard to reproduce for others.
-
@<a href="#comment-24124" rel="nofollow">Wonko</a>: You could post them to bugs.kde.org - if we succeed in reproducing, it will get fixed. If not, at least you tried.
As for deleting the files, it should be safe, but it is always better to move them somewhere else just in case.
-
Okay, I filed <a href="https://bugs.kde.org/show_bug.cgi?id=256187" rel="nofollow">bug #256187</a>.
Did not yet try to remove the files, at the moment I'm re-compiling everyting with gcc 4.5, and I want this to be done first.
I'll keep the old files of course - I do backups of my whole ~/.kde4 anyway whenever I am about to save the session, because this does not work from time to time, and my desktop is messed up then. I also had the problem sometimes that my activities were on other desktops suddenly, but I was able to fix this either manually in the plasma-desktop-appletsrc file or by getting a backup of this file.
-
I removed all plasma* and activitymanagerrc files and started from scratch. Memory is at 400M now (according to top) which is still very high, but it's much better than it was, and my KDE is fast again. plasma-desktop uses 1% of my CPU, that was around 10% before. I think the problem was having so many activities, I had one per desktop. Looks like in 4.5.3 I no longer have this option in the virtual desktop settings, but instead I have the option to have different mini programs per desktop. That's exactly what I want - maybe I will add a 2nd activity, but I don't really need it.
When I add more activities, memory usage climbs higher, although not as high as it was before.
At this moment, I'm a very happy KDE4 user.
-
@<a href="#comment-24183" rel="nofollow">Ivan Čukić</a>: Found the problem. The log file I monitor with the file watcher on the top of desktop2 was 45MB large. If it is small, there is no problem. The size comes because I add four lines every ten seconds. When I use > instead of >>, I no longer see updates - tai-f is smarter here. So the file grows and grows. But when I delete the file at system start, I should be fine I think.
Oh, yeah, I like Pink Floyd.
-
@<a href="#comment-24153" rel="nofollow">Wonko</a>: It is high, but if it works without problems, it is not too high :)
> At this moment, I’m a very happy KDE4 user.
Glad to hear that :)
p.s. The option was renamed since activities are not only widget groups anymore.
-
@<a href="#comment-24174" rel="nofollow">Ivan Čukić</a>: And minutes later, KDE crashed. When I login again, it takes about 4 minutes until the plasma desktop appears. The process uses 1.5G then. So, suddenly it is as it was before. I'm not so happy any more :(
-
Whooooa, and now top reports 1.7G (!!1) for plasma-desktop. I did not change much since the last post. KDE is still fast, though, plasma-desktop still uses only 1% of the CPU, and not much swap is being used.
If 400M is high, what is 1.7G?
-
@<a href="#comment-24171" rel="nofollow">Wonko</a>: I didn't realize it before - you're using top. In that case, the memory amount you posted is quite fine ;)
For me, plasma uses < 100M, while top reports 800M.
-
@<a href="#comment-24172" rel="nofollow">Ivan Čukić</a>: I know that top reports larger values than the system monitor, and was advised to use it instead. Here, I kept using the top value for consistency.
But when I take a look at the system monitor (the Ctrl-Esc one), it also shows shows 1655168K.
What do you use for measurement?
-
@<a href="#comment-24173" rel="nofollow">Wonko</a>: Strange, for me Ctrl-Esc shows the above mentioned value.
-
@<a href="#comment-24175" rel="nofollow">Wonko</a>: Are you using some strange applet/wallpaper plugin etc.?
-
@<a href="#comment-24176" rel="nofollow">Ivan Čukić</a>: I don't think so. You can see current screenshots of my desktop <a href="http://www.wonkology.org/comp/desktop/2010-11-11/" rel="nofollow">here</a>. They were taken just before I noticed excessive memory usage again, and before starting the plasma desktop took more than few seconds.
-
@<a href="#comment-24178" rel="nofollow">Wonko</a>: I have no clue - the only non-standard widgets I see are the system monitoring ones.
If you want, you can try to track down the problem by adding them one by one to see where the memory usage jumps (it would be perfect if you could give each one some time to run - maybe a day - there could be some leak or something)
p.s. +1 for the choice of music
