Comment 0 for bug 5039

Revision history for this message
Aigars Mahinovs (aigarius) wrote :

When downloading files with PTP the same amount of
memory is used as total amount of all files to be
downloaded. For example, today I was downloading 100
RAW photos from my Canon 350D with total size of 500Mb
and gphoto memory usage increased to 510Mb.

Bug fixed by disabling cache by commenting the line 1556 in
libgphoto2/gphoto2-filesys.c:
CR (gp_filesystem_set_file_noop (fs, folder, file, context));

After this one line change gphoto only uses 5-16 Mb of RAM.

The fixed package is just uploaded to sid.
Please sync to both dapper and breezy.