SUMMARY The clipboard can cause plasmashell to use a lot of disk transfers and memory if it is filled with lots of image URIs This persists across system restarts, until the relevant images are removed. May be related to the previews. STEPS TO REPRODUCE 1. select around 50k images in dolphin 2. press ctrl+C 3. wait a few minutes. I/O usage and memory will increase over time. OBSERVED RESULT 8GiB of memory, some more in swap, 100% disk read, plasmashell freezing, other programs encountering long disk waits EXPECTED RESULT Some sort of cap prevents the system from becoming unusable SOFTWARE/OS VERSIONS Linux kernel: 6.1.31-1-MANJARO (64 bit) KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Graphics platform: X11
Probably related to the previews, yeah. Can reproduce.
Can't reproduce on: Operating System: Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-27-generic (64-bit) Graphics Platform: Wayland I usually use Krusader, so started there, but after not seeing anything interesting started to suspect that Dolphin showing thumbnails by default may be related. Moved to Dolphin, initial preview generation showed I/O activity, but Ctrl+A then Ctrl+C didn't really do anything interesting, even though wl-paste confirms that I have a quite long list of URIs. After a short while I started scrolling around, but progressive preview popping up and I/O activity spiking confirmed that previews were only generated on demand for scrolling. Maybe it's different on X11?
Fixed in 6.3 since the preview becomes asynchronous.