Summary: | abort() when transfering big files | ||
---|---|---|---|
Product: | [Applications] kdeconnect | Reporter: | Yuxuan Shui <yshuiv7> |
Component: | common | Assignee: | Albert Vaca Cintora <albertvaka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdeconnect-kde/d1d84bc464c5f85268a9a1229c8a46ef20367cff | Version Fixed In: | |
Sentry Crash Report: |
Description
Yuxuan Shui
2017-04-06 05:38:31 UTC
For very large files, the code could use multiple transfers instead of using readAll(). Qt has a 2 GiB limitation on QByteArray. Git commit d1d84bc464c5f85268a9a1229c8a46ef20367cff by Albert Astals Cid. Committed on 01/08/2017 at 22:39. Pushed by aacid into branch '1.x'. Fix DownloadJob not finishing We stop using a buffer so it's less memory intensive and allows for larger files to be sent. With current KIO has CPU usage issues, there's a patch in review that fixes them. M +13 -15 core/backends/lan/downloadjob.cpp M +1 -2 core/backends/lan/downloadjob.h M +4 -0 core/filetransferjob.cpp https://commits.kde.org/kdeconnect-kde/d1d84bc464c5f85268a9a1229c8a46ef20367cff |