This is a problem I already had with the 10.10 release, the longer this computer is on the more RAM is taken by kded4.
It starts with a couple of MB but now some 15 hrs. later about 1 GB is being occupied.
I don't really see a single culprit but switching off desktop effects seems to limit the growth.
Killing and restarting kded4 resets it's memory usage.
I don't have the problem with kded4 taking a lot of CPU cycles.
This is a Toshiba Tecra with a nVidia Quadro NVS130 card.
It starts with a couple of MB but now some 15 hrs. later about 1 GB is being occupied.
Code:
The process kded4 (with pid 1573) is using approximately 1.0 GB of memory. It is using 1.0 GB privately, and a further 11.5 MB that is, or could be, shared with other programs. Dividing up the shared memory between all the processes sharing that memory we get a reduced shared memory usage of 1251.0 KB. Adding that to the private usage, we get the above mentioned total memory footprint of 1.0 GB. 154.7 MB is swapped out to disk, probably due to a low amount of available memory left. Library Usage The memory usage of a process is found by adding up the memory usage of each of its libraries, plus the process's own heap, stack and any other mappings, plus the stack of its 3 threads. Private more 1094324 KB [heap] 140 KB /usr/lib/libknmservice.so.4.6.0 136 KB /usr/lib/libknm_nm.so 88 KB /usr/lib/libkhotkeysprivate.so.4.6.0 60 KB /usr/lib/kde4/kded_powerdevil.so Shared more 3448 KB /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06 1016 KB /usr/lib/libQtCore.so.4.7.2 688 KB /usr/lib/libQtGui.so.4.7.2 656 KB /lib/i386-linux-gnu/libc-2.13.so 548 KB /usr/lib/libkdecore.so.5.6.0 Totals Private 1095548 KB (= 776 KB clean + 1094772 KB dirty) Shared 11808 KB (= 11240 KB clean + 568 KB dirty) Rss 1107356 KB (= Private + Shared) Pss 1096799 KB (= Private + Shared/Number of Processes) Swap 158424 KB
Killing and restarting kded4 resets it's memory usage.
Code:
The process kded4 (with pid 13306) is using approximately 33.1 MB of memory. It is using 29.6 MB privately, and a further 19.8 MB that is, or could be, shared with other programs. Dividing up the shared memory between all the processes sharing that memory we get a reduced shared memory usage of 3.6 MB. Adding that to the private usage, we get the above mentioned total memory footprint of 33.1 MB. Library Usage The memory usage of a process is found by adding up the memory usage of each of its libraries, plus the process's own heap, stack and any other mappings, plus the stack of its 3 threads. Private more 16664 KB /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06 3756 KB [heap] 1872 KB /usr/lib/libQtWebKit.so.4.7.2 820 KB /usr/lib/libQtXmlPatterns.so.4.7.2 500 KB /usr/lib/nvidia-current/libGL.so.270.41.06 Shared more 3444 KB /usr/lib/nvidia-current/libnvidia-glcore.so.270.41.06 1704 KB /usr/lib/libQtGui.so.4.7.2 1320 KB /usr/lib/libkdecore.so.5.6.0 1276 KB /usr/lib/libkdeui.so.5.6.0 1276 KB /usr/lib/libQtCore.so.4.7.2 Totals Private 30260 KB (= 6184 KB clean + 24076 KB dirty) Shared 20320 KB (= 20312 KB clean + 8 KB dirty) Rss 50580 KB (= Private + Shared) Pss 33922 KB (= Private + Shared/Number of Processes) Swap 0 KB
This is a Toshiba Tecra with a nVidia Quadro NVS130 card.
Comment