[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 --- Comment #9 from Laurent Bonnaud--- Since my initial report I updated my systems to Ubuntu 16.10, Plasma 5.8, and KF5 5.27/5.28. The icon-cache problem is solved: the icon-cache.kcache file is only mapped once. However the DRM problem remains: $ grep /drm /proc/$(pidof plasmashell)/maps | wc 3483132 34104 on one system and on the other: $ grep /drm /proc/$(pidof plasmashell)/maps | wc 2512259 24598 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 --- Comment #8 from Laurent Bonnaud--- > Do you see the same? As far as baloo is concerned: yes. It usually uses 5GB of virtual memory. But today I rechecked and it uses an even more insane figure of 256GB ! I wonder how baloo can work on a 32 bits system :>. USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND bonnaudl 2191 0.0 0.0 268768452 9996 ? SNl Nov22 0:01 baloo_file But perhaps this baloo problem deserves a separate bug report. This report was about plasmashell. Here are details of the mappings it uses: $ cat /proc/2191/maps 564d4f846000-564d4f889000 r-xp 00:15 48261996 /usr/bin/baloo_file 564d4fa88000-564d4fa8b000 r--p 00042000 00:15 48261996 /usr/bin/baloo_file 564d4fa8b000-564d4fa8c000 rw-p 00045000 00:15 48261996 /usr/bin/baloo_file 564d5075d000-564d508b1000 rw-p 00:00 0 [heap] 7f7e-7f7e001cf000 rw-p 00:00 0 7f7e001cf000-7f7e0400 ---p 00:00 0 7f7e0800-7fbe0800 r--s 00:15 36330789 /home/bonnaudl/.local/share/baloo/index 7fbe0800-7fbe08061000 rw-p 00:00 0 7fbe08061000-7fbe0c00 ---p 00:00 0 7fbe0e7b7000-7fbe0e7dc000 r--s 00:15 49178502 /usr/share/mime/mime.cache 7fbe0e7dc000-7fbe0e7dd000 ---p 00:00 0 7fbe0e7dd000-7fbe0f2df000 rw-p 00:00 0 7fbe0f2df000-7fbe0f2e ---p 00:00 0 7fbe0f2e-7fbe0fae rw-p 00:00 0 7fbe0fae-7fbe0fdb9000 r--p 00:15 48519444 /usr/lib/locale/locale-archive 7fbe0fdb9000-7fbe0fdcb000 r-xp 00:15 45344847 /lib/x86_64-linux-gnu/libgpg-error.so.0.19.1 7fbe0fdcb000-7fbe0ffcb000 ---p 00012000 00:15 45344847 /lib/x86_64-linux-gnu/libgpg-error.so.0.19.1 7fbe0ffcb000-7fbe0ffcc000 r--p 00012000 00:15 45344847 /lib/x86_64-linux-gnu/libgpg-error.so.0.19.1 7fbe0ffcc000-7fbe0ffcd000 rw-p 00013000 00:15 45344847 /lib/x86_64-linux-gnu/libgpg-error.so.0.19.1 7fbe0ffcd000-7fbe0ffdb000 r-xp 00:15 45275699 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7fbe0ffdb000-7fbe101da000 ---p e000 00:15 45275699 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7fbe101da000-7fbe101db000 r--p d000 00:15 45275699 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7fbe101db000-7fbe101dc000 rw-p e000 00:15 45275699 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 7fbe101dc000-7fbe101e1000 r-xp 00:15 24859766 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fbe101e1000-7fbe103e ---p 5000 00:15 24859766 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fbe103e-7fbe103e1000 r--p 4000 00:15 24859766 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fbe103e1000-7fbe103e2000 rw-p 5000 00:15 24859766 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fbe103e2000-7fbe103e6000 r-xp 00:15 35260453 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7fbe103e6000-7fbe105e5000 ---p 4000 00:15 35260453 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7fbe105e5000-7fbe105e6000 r--p 3000 00:15 35260453 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7fbe105e6000-7fbe105e7000 rw-p 4000 00:15 35260453 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0 7fbe105e7000-7fbe105fe000 r-xp 00:15 35260396 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7fbe105fe000-7fbe107fd000 ---p 00017000 00:15 35260396 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7fbe107fd000-7fbe107ff000 r--p 00016000 00:15 35260396 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7fbe107ff000-7fbe1080 rw-p 00018000 00:15 35260396 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 7fbe1080-7fbe10801000 r-xp 00:15 45275755 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7fbe10801000-7fbe10a0 ---p 1000 00:15 45275755 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7fbe10a0-7fbe10a01000 r--p 00:15 45275755 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7fbe10a01000-7fbe10a02000 rw-p 1000 00:15 45275755 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 7fbe10a02000-7fbe10a07000 r-xp 00:15 45275811 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7fbe10a07000-7fbe10c06000 ---p 5000 00:15 45275811 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7fbe10c06000-7fbe10c07000 r--p 4000 00:15 45275811 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7fbe10c07000-7fbe10c08000 rw-p 5000 00:15 45275811
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 --- Comment #7 from Chris Samuel--- Using KSysGuard you can get a full breakdown of the mappings, it turns out for me I see 5GB is used mapping in my Baloo index file (which is just 420MB in size), another 2GB is anonymous mapping and then you've got 263MB for the heap. Address PermSize ▴ Rss Pss Shared CleanShared DirtyPrivate Clean Private Dirty Referenced Anonymous AnonHugePages ShmemPmdMapped Shared Hugetlb Private Hugetlb SwapSwapPss Locked Filename 7feebe4ee000-7feffe4ee000 r--s5242880 KB 2708 KB 1239 KB 2700 KB 0 KB8 KB0 KB2704 KB 0 KB0 KB0 KB0 KB0 KB0 KB 0 KB0 KB/home/chris/.local/share/baloo/index 7ff0a000-7ff12000 rwxp2097152 KB 2048 KB 2048 KB 0 KB 0 KB0 KB2048 KB 0 KB2048 KB 0 KB0 KB0 KB0 KB0 KB 0 KB0 KB 55ffc0e7c000-55ffd0fd3000 rw-p263516 KB 249024 KB 249024 KB 0 KB0 KB0 KB249024 KB 235092 KB 249024 KB 180224 KB 0 KB0 KB0 KB0 KB0 KB0 KB[heap] $ du -sh /home/chris/.local/share/baloo/index 420M/home/chris/.local/share/baloo/index That's not a sparse file either: $ ls -lsh /home/chris/.local/share/baloo/index 420M -rw-rw-r-- 1 chris chris 420M Aug 17 22:43 /home/chris/.local/share/baloo/index Do you see the same? Here's the summary from KSysGuard for plasmashell in case it is of use: Process 2344 - plasmashell Summary The process plasmashell (with pid 2344) is using approximately 458.4 MB of memory. It is using 447.9 MB privately, and a further 58.3 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 10.5 MB. Adding that to the private usage, we get the above mentioned total memory footprint of 458.4 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 24 threads. Private 435100 KB [heap] 12028 KB/drm mm object (deleted) 732 KB /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.6.1 680 KB /home/chris/.cache/plasma_theme_default_v5.25.kcache 364 KB /usr/bin/plasmashell [more] Shared 7640 KB /home/chris/.cache/ksycoca5_en-AU_nRYZdPhro8LuwAG9USlBRsk3F3s= 3696 KB /usr/lib/x86_64-linux-gnu/dri/i965_dri.so 3396 KB /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.6.1 3264 KB /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.6.1 2700 KB /home/chris/.local/share/baloo/index [more] Totals Private 458676 KB (= 6272 KB clean + 452404 KB dirty) Shared 59656 KB(= 59052 KB clean + 604 KB dirty) Rss 518332 KB (= Private + Shared) Pss 469394 KB (= Private + Shared/Number of Processes) Swap0 KB All the best, Chris -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 Chris Samuelchanged: What|Removed |Added CC||k...@csamuel.org --- Comment #6 from Chris Samuel --- I'm seeing this same issue on Kubuntu 16.10 with its Plasma 5.7.5, KDE Frameworks 5.26.0, KDE apps 16.04.3, Qt 5.6.1. I've got Intel graphics, but using the modesetting driver. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 Luca Giamboninichanged: What|Removed |Added CC||luc...@bluewin.ch --- Comment #5 from Luca Giambonini --- Same here on Chakra Linux with: plasmashell 5.6.3 applications 16.04.0, KF5.21 It seems that the value of virtual memory used increas continuosly. I have clock/weather/system load/network load plasmoids and nothing else I don't know if is related but this issues started after the update of nvidia 364.19 grep icon-cache /proc/2256/maps | wc 2408 14448 262472 Library Usage (shared) 157252 KB/home/luca/.cache/icon-cache.kcache -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 Laurent Bonnaudchanged: What|Removed |Added Platform|Other |Kubuntu Packages Version|master |5.6.3 --- Comment #4 from Laurent Bonnaud --- Since my initial report I upgraded my system to Ubuntu 16.04 and Neon packages: Package: plasma-workspace Version: 4:5.6.3+p16.04+git20160426.0444-0 and the problem is still there. After one day of use: $ grep /drm /proc/3190/maps | wc 5705130 55860 $ grep icon-cache /proc/3190/maps | wc 10776462 121701 and 15GB of VM. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 --- Comment #3 from Laurent Bonnaud--- I use two non default applets: - system load - weather applet -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 Marco Martinchanged: What|Removed |Added CC||notm...@gmail.com --- Comment #2 from Marco Martin --- any particular applet loaded? i have always only one icon cache line even after several hours running -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 361521] Insane virtual memory consumption and icon-cache mappings
https://bugs.kde.org/show_bug.cgi?id=361521 --- Comment #1 from Laurent Bonnaud--- I restarted my plasma session, and after 1 minute of use, here are the figures: $ grep /drm /proc/14052/maps | wc 3082772 30184 $ grep icon-cache /proc/14052/maps | wc 9 541017 -- You are receiving this mail because: You are watching all bug changes.