Version: unspecified (using KDE 4.6.5) OS: Linux Takes too much memory when copying files from camera over PTP. It's impossible to copy 2.5GB movie file with 2GB RAM. Reproducible: Always Steps to Reproduce: 1. Connect camera (eg. EOS 7D) via USB. 2. Open file manager. 3. Drag&drop file sized over 2GB to local filesystem. Actual Results: Process kio_kamera takes too much memory, which makes system stop (due to swapping). If kernel kills the process due to OOM, Dolphin shows message about kio_kamera process exiting unexpectedly. Expected Results: Process kio_kamera copies file to local fs without storing it in memory first.
The code reads in the whole file from the camera into memory and then pushes it out. So you are not seeing a memory leak, but more a lack of pass-through mode for data.
> pass-through mode As far as I can tell from a short test, as of v18.07.90 kio_kamera.so still gobbles up memory when copying a large file, so this probably has not been implemented yet.