Version: unspecified (using KDE 4.5.0) OS: Linux I noticed a progressive increase in memory use of the process "plasma-desktop" after some interactions with the icons in systray that fire dbus-based menus. This bug is evident on kde 4.5 in particular in opensuse 11.3 (64bit), kde four live (64bit) and kubuntu 10.10 alpha 3. On Opensuse 11.3 this bug is even more evident and there is also a noticeable delay between a right click on the icon in the systray and the popup of the menu. After an upgrade to libdbusmenu-qt2 the problem on opensuse became similar to the one on kubuntu. Reproducible: Always Steps to Reproduce: Steps to reproduce the bug: 1: start kopete or ktorrent and make sure their icon shows up in the systray. These two programs support a dbus-based systray and have comples menus. 2:right click on the icon of kopete or ktorrent in the systray the memory usage of plasma-desktop increases of some MBytes. 3: browse the various sub-menus the memory usage of plasma-desktop increases of some more MBytes. Actual Results: The more you interact with the dbus-based menu in the systray the more the memory associated with plasma-desktop increases. The more complex the menus are the more the memory usage of plasma-desktop increases too. After 10 interactions or so in the systray-menu of kopete and ktorrent i managed to make plasma-desktop use over 150MByte.
*** This bug has been confirmed by popular vote. ***
Reproducible also on Fedora Rawhide (x86_64).
I can reproduce this using KDE 4.5 on Arch from the testing repo. Not all the icons do this. However every time I right click on the Kopete icon the amount of RAM used by plasma-desktop increases of about 50MB.
Right click on Kopete icon takes about 4~5 mb on Fedora Rawhide x86_64.
I just found out that there is a bug in the version of libdbusmenu-qt used by Arch still contains a bug that causes the menus to appear multiple times, thus greatly amplifying the memory leak. I will report this as an Arch bug.
Managed to get plasma-desktop using 230MB in xrestop. This really needs to be fixed. System is slowing down noticeably if X mem usage is growing.
This may be a pixmap leak on statusnotifieritemsource.cpp (kdebase/workspace/plasma/generic/dataengines/statusnotifieritem).
this report might be a duplicate: 257049
*** Bug 257049 has been marked as a duplicate of this bug. ***
it seems better here with kde 4.5.3. Anybody can confirm this?
For me, this bug seems solved on kde 4.6.2 (opensuse 11.4).