Version: unspecified OS: Linux kde 4.5 beta2 from opensuse unstable, 84 bit I have noted that I have low free memory on laptop, system monitor showed me that plasma has eaten about 500mb in the "memory" column which seemed to be innormal. I have made killall plasma-desktop and restarted it - this time it showed about 60mb in same column. Then I have left comp for about 3-4 hours without switching it off and also without making any actions with it, then returned to it, reloaded few pages in konqueror, then looked at system monitor again and see that plasma-desktop process takes 265mb and constantly takes 2-3% cpu (and while I was writting this message, the memory ammount was raised to 268mb and it slowly grows up). I have 3 picture frame plasmoids on desktop, one quick launch plasmoid on desktop, 2 network monitor plasmoids (one on the panel, another on the desktop), on the panel - trash, yaWP, xeyes, task manager, show desktop, tray, power manager, device manager, clocks and app launcher. Reproducible: Didn't try
can you try to remove all the applets/widgets and only use one ( to see which one leaks )
can you try leaving the widgets one by one open in plasmoidviewer? one of them should grow as well
This seems to be systray. I have dropped another instance to plasmoidviewer window and it immediately started to eat 2% cpu and slowly eating memory with same speed as plasma-desktop process. At the same time another window of plasmoidviewer with yaWP does not eat any cpu and constantly takes 15.7mb of memory (though I was initially thout about this plasmoid as of the source of the leak).
This seems to be much like the fault of ktorrent (Version 4.0.0). Though it does not have any active downloads/uploads, when I closed it, plasma started to take 0-1% of cpu and contant growth of memory consumption has stopped (or became much slower - must check after some time). When started ktorrent again, cpu returned to 2-3% and memory consumption speed became visible to the eye again.
Ktorrent updates the icon quite often. there was a similar bug fixed the other day, so it could be fixed. i will do some tests on that as well
I have checked after few hours - memory continued to leak (currently it is 90mb vs 50 at start), but much slower than with ktorrent. I will check if that was fixed with next beta.
Version: KDE SC 4.4.85 (ArchLinux packages) OS: Linux I can confirm it. Right now, plasma-desktop is using 524.6 MiB of RAM - and increasing. A few days ago, after I left the computer turned on for three days, It was using around 1.2 GiB. And I haven't changed my desktop since I installed 4.4.85 - i.e., I have no widgets on the desktop.
I had this problem with 4.4.85. Seems to be gone with 4.4.90.
Does this persist in the final 4.5 releases?
For me plasma leaks with the animated kopete systray icon, and this still happens in 4.5.1
a few major memory leaks in KImageCache and KSharedCache were found and fixed and will appear in 4.5.2. it's likely this is what the original reporter was seeing. no one has, to my knowledge, checked if the intermittent reports about systray icon leakage and those fixes are related. i wouldn't be surprised, though: there was a 3x in-memory cache which meant that pixmaps would fill up 100s of MB in this cache over time.
The situation is a lot better now than it was when I was CC'ed to this bug. But there is still some high memory consumption and high CPU usage without an appearant reason sometimes.
i consider this issue with the caching fixed, as much as it will be.