On Wed, May 30, 2012 at 06:47:53PM +0200, Mathieu Malaterre wrote: > On Wed, May 30, 2012 at 6:36 PM, Bill Allombert > <[email protected]> wrote: > > On Wed, May 30, 2012 at 05:35:45PM +0200, Mathieu Malaterre wrote: > >> Package: libjpeg-progs > >> Version: 8b-1 > >> Severity: normal > >> > >> > >> Looks like cjpeg does not handle large image. It fails with: > >> > >> $ dmesg > >> [...] > >> [30479.166496] Out of memory: Kill process 23549 (cjpeg) score 973 or > >> sacrifice child > >> [30479.166500] Killed process 23549 (cjpeg) total-vm:567775256kB, > >> anon-rss:15702792kB, file-rss:116kB > >> > >> When running: > >> > >> $ cjpeg -progressive -arithmetic -rgb -block 1 -outfile huge1.jpg -quality > >> 100 huge.ppm > > > > Hello Mathieu, > > > > Before I forward it to Guido, > > > > could you check libjpeg8 8d in sid ? > > -arithmetic flag is only with libjpeg8 in sid :) > Anyway the answer is yes I was using sid version
Ah, but the Version field said 8b. > > could you provide a way to generate huge1.ppm ? > > $ convert -size 32768x32768 xc:white huge.ppm > $ cjpeg -progressive -maxmemory 4m -outfile huge1.jpg huge.ppm > > it does run on my 4Gb machine, but watch what top reveals for cjpeg > process... (try removing -progressive) OK, thanks for your report. Cheers, -- Bill. <[email protected]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

