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

            Bug ID: 414538
           Summary: Memory leak when sending files with KDE Connect
           Product: kdeconnect
           Version: 1.3.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: jman012...@gmail.com
  Target Milestone: ---

SUMMARY
Originally reported in the Fedora bugzilla
(https://bugzilla.redhat.com/show_bug.cgi?id=1774339) it was recommended that I
report this upstream.

When sending large files with KDE Connect, system memory usage increases
without a similar decrease once the transfer is complete. After transferring
~80 GiB of files from my laptop to my desktop, my laptop's memory usage was at
14.1 GiB of 15.5 GiB available, with about 13.5 GiB of that being kdeconnectd.
Performance slowed to a crawl until I killed the kdeconnectd process.

There was no such effect on the receiving desktop. I tried sending a single 40
GiB file from my desktop to my laptop and it took up 29 GiB of memory during
the transfer, then dropped to 13 GiB afterward.

STEPS TO REPRODUCE
1. Pair two computers via KDE Connect
2. Open Dolphin, right click on a large file, and select "Send to '$foo' via
KDE Connect"
3. Open ksysguard and watch the memory usage climb

OBSERVED RESULT
Memory usage increases dramatically and doesn't decrease once the transfer is
complete.

EXPECTED RESULT
Memory should be freed once the transfer is complete.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.3.11
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.5

ADDITIONAL INFORMATION
Watching this happen in ksysguard, it looks like there are periodic breaks in
the file upload. During those breaks, memory usage climbs, at least during the
first half of the transfer. It looks like the file is being put into an upload
buffer, but the buffer isn't completely cleared once the transfer is complete.

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

Reply via email to