[FWTools] Errors during gdalwarp

Jason Birch Jason.Birch at nanaimo.ca
Mon Jul 23 13:17:32 EDT 2007

Hi all,

I'm running into some memory errors doing a rather large image
composition task.  The majority of my images are pulled in OK, but for
several of them I am getting errors like:

Processing input file z:/tiff_30cm_tiled/650.tif.
:0...10...20..ERROR 2: Failed to allocate 400110000 byte source buffer.

This is on a PC with a reasonable amount of free space on the hdd and
3GB of physical memory.  I'm using the -wm option to set a 1.5Gb cache.
Perhaps this is overkill?  Are there any other memory-enhancing
functions available?  I'm not afraid of naturopathy :)

The full command line and output is available here:


Version info:

D:\Orthos>gdalwarp --version
GDAL 1.5dev, FWTools 1.3.2, released 2007/06/01

Gdalinfo from one of the erroring images:

D:\Orthos>gdalinfo z:/tiff_30cm_tiled/650.tif
Driver: GTiff/GeoTIFF
Files: z:/tiff_30cm_tiled/650.tif
Size is 13337, 10000
Coordinate System is `'
Origin = (418999.899999999970000,5444500.000000000900000)
Pixel Size = (0.300000000000000,-0.300000000000000)
Corner Coordinates:
Upper Left  (  418999.900, 5444500.000)
Lower Left  (  418999.900, 5441500.000)
Upper Right (  423001.000, 5444500.000)
Lower Right (  423001.000, 5441500.000)
Center      (  421000.450, 5443000.000)
Band 1 Block=13337x1 Type=Byte, ColorInterp=Red
  Overviews: 1024x768
Band 2 Block=13337x1 Type=Byte, ColorInterp=Green
  Overviews: 1024x768
Band 3 Block=13337x1 Type=Byte, ColorInterp=Blue
  Overviews: 1024x768

Any ideas?


More information about the FWTools mailing list