So with every recent KDE version, from the original one released with openSUSE 12.3 and 13.1, until the latest KDE release 4.13.2 I am always encountering a huge memory leak in kded4. It takes less then a week of runtime that the kded4 uses nearly 2 GB memory. So I have to restart it regularly to prevent my pc from running out of RAM. I tried to remove the powerdevil file as described in https://bugs.kde.org/show_bug.cgi?id=271934#c72 but it didn't help so I think this issue is unrelated to theirs. I have basically the same configuration at home on my laptop without this issue. The only difference I can think of is that I am using NetworkManager on my laptop so maybe not using it might trigger the issue. I have also resetted the .kde4 directory but it didn't prevented the issue. I have let run kded4 against valgrind for one day and installed most debuginfo files. If you need any additional information let me know. Reproducible: Always Steps to Reproduce: 1. Start KDE 2. Let it run for some hours/days 3. Check the memory consumption of kded4 Actual Results: memory consumption of kded4 is growing fast Expected Results: memory consumption of kded4 shouldn't increase much over time I am using regular openSUSE 13.1 repositories (http://download.opensuse.org/source/distribution/13.1/) but to get the latest KDE version also the repository http://download.opensuse.org/repositories/KDE:/Current/openSUSE_13.1/ .
Created attachment 87657 [details] valgrind log of kded4 after half day This is the log of `valgrind --leak-check=full --track-origins=yes kded4 --nofork` after half a day.
Please try to isolate the offending kded module. For more information, see http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/
As it turns out it was related to powerdevil. I think I have moved the powerdevil file and still had the issue but the only module responsible for the memory leak seems to be it. Interestingly powerdevil is part of kdebase4-workspace which still is KDE 4.11 unlike most other kde packages. So I have removed the package for now and with it powerdevil. Is this a packaging issue or is there no powerdevil anymore in newer KDE versions? *** This bug has been marked as a duplicate of bug 271934 ***
KDE Workspace is feature-frozen since 4.11, so there is no newer version. See also http://kde.org/announcements/4.11/