gvfsd-gphoto2 seems to not free up memory correctly after load

Bug #673146 reported by Lukáš Chmela
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Debian)
New
Undecided
Unassigned
gvfs (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: gvfs

gvfsd-gphoto2 seems to not correctly free up memory used after loaded and it is necessary to unmount the camera to free the memory.

When my Canon EOS 500D camera is mounted using gvfsd-gphoto2 in Nautilus everything seems to be OK until I enter a folder with photos and videos. gvfsd-gphoto2 then loads previews of all files in that folder, but it seems that it doesn't free up the memory used correctly because it uses hundreds of MBs of memory or even more. When RAM is filled, it then allocates space in swap. Neither RAM nor swap space is released until the camera is unmounted, closing the Nautilus window doesn't help.

I am using Ubuntu 10.10, latest gvfs package from the repository version 1.6.4-0ubuntu1.1

It is possible that there is a relation with the bug 673137 (https://bugs.launchpad.net/bugs/673137)

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version. Thanks in advance and sorry for the late response.

Changed in gvfs (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Lukáš Chmela (lukaschmela) wrote :

Thank you for your response.

I am no more able to reproduce this issue with Ubuntu 11.04 and latest packages from natty-updates repository as it turned out that after loading an image preview, it really does free the used memory up.

However, it keeps loading the last preview that it already started loading even if the folder in Nautilus is no more opened or even if the Nautilus window is already closed (see Bug #673137). After the last preview is loaded, it frees up memory correctly and no more preview loading is initialized, however, the last, already initialized, one doesn't stop loading after I leave the folder. The same thing happens with copying a file from the camera - gvfsd-gphoto2 loads it entire into memory first, writes it into HDD once it is whole loaded in system memory and ONLY AFTER it writes whole file onto HDD it frees all the memory used (see Bug #673151).

The exactly same behavior is seen also on my Acer Aspire 8943G laptop.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gvfs (Ubuntu) because there has been no activity for 60 days.]

Changed in gvfs (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.