https://bugs.kde.org/show_bug.cgi?id=474423

            Bug ID: 474423
           Summary: Copying lots of files results in filenames being added
                    to Clipboard History; on Plasma restart, slow and lots
                    of RAM used
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.7
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Clipboard
          Assignee: plasma-b...@kde.org
          Reporter: gerbils...@gerbilsoft.com
  Target Milestone: 1.0

SUMMARY
I was using Dolphin to move around a lot of image files using the clipboard.
(cut, paste, etc) I needed to restart Plasma for whatever reason, and on doing
so, Plasma was not only acting very slow, it was eating up gobs of memory. (up
to 32 GB!) After a bit of diagnosis, I eventually found that the clipboard
history in ~/.local/share/klipper/history2.lst contained a full list of all of
the files I was moving around. This in itself isn't a problem, but it seems
that when the Clipboard applet starts up, it attempts to thumbnail all of the
files all at once, resulting in massive slowdown and significant memory usage.
Deleting history2.lst allowed Plasma to start up normally.

STEPS TO REPRODUCE
1. Cut 1,000+ high-resolution images from one directory.
2. Paste them in another.
3. Restart plasmashell.

OBSERVED RESULT
Plasma's start is slow, the UI is laggy, and it's eating up gigabytes of
memory.

EXPECTED RESULT
Plasmashell starts up and does not use significantly more memory than usual.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux 2.13
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.110
Qt Version: 5.15.10

ADDITIONAL INFORMATION
There's a related bug https://bugs.kde.org/show_bug.cgi?id=466589 that mentions
a memory leak in QWaylandClipboard. I'm using Gentoo's qtwayland-5.15.10-r4
package, which has this patch already applied.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to