Package: gphoto2 Version: 2.3.1-2 Severity: normal
Bug 372166 talks about a major error holding the entire set of objects in RAM before writing to disk. this error is much more narrow: gphoto2 appears to hold an individual object entirely in RAM before writing it to disk. It appears to do this for me when i run "gphoto -P" to connect to my canon PowerShot SD200, anyway. This isn't a problem (today) for normal hosts, normal cameras, and normal (still) photos. But it's a problem for movies or other extremely large files, or for embedded hosts. My camera can take movies. I have a couple 1GB movie files on it. I have a low-end machine with 256MB RAM (or even as low as 32MB RAM, in the case of my debian ARM device). I want to transfer those 1GB movie files to disk via gphoto2. Pulling the entire movie into RAM is prohibitively expensive because of the massive swapping that results. The cutoff of what should be spooled directly to disk (as opposed to what can be cached in RAM) would ideally be related to the amount of physical memory in the host system (or the amount allowed to the running user). Or maybe *every* object should be spooled to a local temporary file and then renamed to the proper name when complete? I'm not sure what the downside would be there. Maybe this is a job for mmap()? Sorry that i don't have any concrete suggestions or patches to offer at this point. Thanks for keeping gphoto2 in debian! it's very handy. Regards, --dkg -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gphoto2 depends on: ii libc6 2.5-9+b1 GNU C Library: Shared libraries ii libcdk5 5.0.20060507-1 C-based curses widget library ii libexif12 0.6.15-1 library to parse EXIF files ii libgphoto2-2 2.3.1-5 gphoto2 digital camera library ii libgphoto2-port0 2.3.1-5 gphoto2 digital camera port librar ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libncurses5 5.6-3 Shared libraries for terminal hand ii libpopt0 1.10-3 lib for parsing cmdline parameters ii libreadline5 5.2-3 GNU readline and history libraries ii libusb-0.1-4 2:0.1.12-7 userspace USB programming library gphoto2 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]