[gdal-dev] error allocatint [sic] destination buffer

Matt Wilkie matt.wilkie at gov.yk.ca
Thu Oct 23 16:51:05 EDT 2008


Dear gdal-dev,

I'm mosaicking a series of DEMs with gdalwarp and getting a series of 
errors in the form:

    ERROR 2: Out of memory allocatint 428788524 byte destination buffer.

My command is (wrapped for legibility):

   gdalwarp -r bilinear -multi --config GDAL_CACHEMAX 500 -wm 500
    -ot uint16 -dstnodata 0
    y:\GeoTIFF\DEM\cded50k\\dem_105a.tif
    y:\GeoTIFF\DEM\cded50k\\dem_105b.tif
    y:\GeoTIFF\DEM\cded50k\\dem_105c.tif
    y:\GeoTIFF\DEM\cded50k\\dem_105d.tif
    y:\GeoTIFF\DEM\cded50k\\dem_105e.tif
    y:\GeoTIFF\DEM\cded50k\\dem_105f.tif
    y:\GeoTIFF\DEM\cded50k\\dem_105g.tif
    y:\GeoTIFF\DEM\cded50k\\dem_105h.tif
    dem_mosaic.tif

the input files in question can be nabbed from 
ftp://ftp.geomaticsyukon.ca/DEMs/CDED_50k/

gdalwarp --version
GDAL 1.5.3, released 2008/09/09 (on WinXPx64 SP2, osgeo4w)

Is this a bug (aside from misspelling "allocating")? If not, what am I 
doing wrong? I've used these options before though perhaps not in this 
combination.

best regards,

-- 
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------



More information about the gdal-dev mailing list