Page 1 of 1

memory allocation error in 6.6.3-7 not in 6.4.3 (diff cmptrs

Posted: 2010-08-20T10:40:39-07:00
by EliL
Good XP pro SP3 workstation with ~ 65G free on C running 6.6.3.7q16(q8 tested too): fails as such:

C:\Documents and Settings\gis\Desktop>convert --version
Version: ImageMagick 6.6.3-7 2010-08-14 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP


C:\Documents and Settings\gis\Desktop>convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
1536 27.897GB 19.486GiB 51.962GiB 18.446744EB 4 unlimited


C:\Documents and Settings\gis\Desktop>identify 00012505p1-2.tif
00012505p1-2.tif[0] TIFF 12800x31264 12800x31264+0+0 1-bit DirectClass 1.129MB 0
.000u 0:00.014
00012505p1-2.tif[1] TIFF 12800x34272 12800x34272+0+0 1-bit DirectClass 1.129MB 0
.000u 0:00.000

C:\Documents and Settings\gis\Desktop>convert 00012505p1-2.tif outputfile.pdf
Magick: memory allocation failed `00012505p1-2.tif' @ error/tiff.c/ReadTIFFImage
/1543.
Magick: missing an image filename `outputfile.pdf' @ error/convert.c/ConvertImag
eCommand/2953.

C:\Documents and Settings\gis\Desktop>

Modestly good XP pro SP3 laptop with ~90G free on C running 6.4.3q16: succeeds as such:

C:\Documents and Settings\eadam\Desktop\works>convert -version
Version: ImageMagick 6.4.3 2008-08-28 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC


C:\Documents and Settings\eadam\Desktop\works>convert -list resource
File Area Memory Map Disk
------------------------------------------------
1536 3.9806gb 2.9854gb 7.9611gb 16eb

(it works, just not typing and waiting for it again. Actually for the full story, I broke it into 2 much larger tifs for each page with gdal and then converting that worked, but it fails on the workstation using that method too).

The source file is a 1.3M tif available by email (assuming that my attempts to attach here fail)

Resources don't get maxed out either. Substantially used, but not maxed. Is this an issue of needing lots of free space on drive? Why does a 1.3M file take so many resources? Is this related to the version? I don't want to upgrade my laptop to 6.6.3.7 to test it since it is working and I might need to do other files. Very happy with ImageMagick, successfully converted 20,000+ other tifs without difficulty. Thanks for the great software. Sorry if this is not a bug, in which case you can delete it. I was thinking it was since the newer version performs worse on a 'better' machine. (If testing on the laptop is needed I can clone it over the weekend and change things but would rather not).

The same workstation runs Ubuntu 10.04 PAE kernal and fails too, although it only has ~15G free on disk in that configuration.