Red Hat Bugzilla – Bug 840547
attempt to copy large directory hierarchy to smart phone over MTP with gvfs-gphoto2 results in OOM
Last modified: 2013-06-25 10:02:50 EDT
Configured my new Galaxy S III in MTP mode. Plugged it in, and opened its Music folder in Nautilus. Attempted to drag and drop >13GB of music files into the folder from the folder on my PC where I keep my music. It copied for a while, then I ran out of RAM and the kernel's OOM killer killed it.
I have 16GB of RAM, of which it is rather for more than 4GB is in use.
When the kernel killed gvfsd-gphoto2, it was using 9GB of RAM:
Jul 16 09:45:38 jik2 kernel: [ 1299.845706] Killed process 3486 (gvfsd-gphoto2) total-vm:9150908kB, anon-rss:8410080kB, file-rss:8kB
Methinks either it has a significant memory leak or it needs to be better about cleaning up no-longer-needed memory as it works rather than waiting until the end of a huge operation.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Hello, I also have the same bug and am keen to get this issue resolved. Please let me know how I can help.
Newer gvfs versions introduced new MTP backend that is more suitable for such devices. However since it's dependent on libmtp, we have no plans for backporting it to older Fedora releases. Suggesting to use Fedora 19 which is going to be released next week hopefully. There are some extra quirks specially for Android-based devices.