Version: (using KDE 4.2.98) OS: Linux Installed from: Ubuntu Packages The bug is quite easy to repeat. Go to kde system settings and then desktop settings. Check how much memory kwin is using normally around 40mb~ Disable desktop effects apply. Enable desktop effects apply (ALT+SHIFT+F12 if you have the shortcut does it too) Check now how much memory kwin is using, for me kwin was using 81mb~ I don't know if it's a specific effect that make this or kwin itself.
A temporary solution is to "ALT+F2" then execute kwin --replace
The bug happens too if composite it's turned off be the system itself, while playing games, resolutions change etc...
- which backend (openGL, XRender, or both) - what if you disable all effect plugins? - how do you create textures (in the Gl case) - what's your HW setup (notably GPU/driver, i.e. intel, ati, nvidia, etc.)
Opengl backend Independ from OpenGL mode used "pixmap or shared memory" 8600M GT (No matter what the driver is used, I'm always changing) Okay I found the plugin doing this it's "Logout plugin". If deactivated it won't happen anymore.
SVN commit 1002976 by luebking: BUG: 201445 fix memleak on reconfigure and avoid heap allocation while not being in action M +39 -16 logout.cpp M +1 -1 logout.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1002976
nice to see how fast you work on this ! Thank you.
Here is more about memory leaks in plug-ins and composite effects : https://bugs.kde.org/show_bug.cgi?id=201718
SVN commit 1003554 by lmurray: Backport r1002976 by luebking: Fix memory leak and avoid wasteful memory allocation while the effect is not in use. CCBUG: 201445 M +39 -16 logout.cpp M +1 -1 logout.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1003554