Bug 840547 - attempt to copy large directory hierarchy to smart phone over MTP with gvfs-gphoto2 results in OOM
Summary: attempt to copy large directory hierarchy to smart phone over MTP with gvfs-g...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-16 14:55 UTC by Jonathan Kamens
Modified: 2013-06-25 14:02 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-25 14:02:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2012-07-16 14:55:53 UTC
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.

Comment 1 Fedora Admin XMLRPC Client 2013-05-23 14:27:01 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2013-05-23 14:29:14 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Dan 2013-06-05 18:36:49 UTC
Hello, I also have the same bug and am keen to get this issue resolved. Please let me know how I can help.

Comment 4 Tomáš Bžatek 2013-06-25 14:02:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.