Udo A. Steinberg wrote: > On Fri, 20 Aug 2004 00:11:54 -0700 Andrew Morton (AM) wrote: > > AM> "Udo A. Steinberg" wrote: > AM> > > AM> > I've tried to download 700 MB of data from a digital camera via USB using > AM> > "gphoto2 --get-all-files" and I can repeatedly run my 128 MB box out of > AM> > memory using either Linux 2.4.26 or 2.6.8.1 for that. > AM> > AM> whee. How much swap is online? > > Something close to 512 MB. > > Adding 506512k swap on /dev/hda2. Priority:-1 extents:1 > > AM> Not that it matters - you seem to have a bunch of reclaimable pagecache > AM> just sitting there. Very odd. > AM> > AM> Could gphoto2 be using mlock? Does it run as root? > > No, gphoto2 was not running as root. > > -Udo. Can you reproduce the OOM with the following patch please? Then send the output. Thanks