[gdal-dev] -wm (memory in mb with gdalwarp)
Jukka Rahkonen
jukka.rahkonen at mmmtike.fi
Mon Dec 2 12:46:27 PST 2013
Jonathan Moules <jonathanmoules <at> warwickshire.gov.uk> writes:
> > I tried adding: --config GDAL_CACHEMAX 27000000000 but then it'd just
> > crash with out-of-memory (it wouldn't actually stop at 27GB; so I guess
> > that works differently again).
> Crash (Windows dialog) or "clean" exit with a GDAL error message ?
> What are the files (TIFF, ECW, ...) in the VRT ?
> I don't see anything wrong, and have not OS and hardware specs to reproduce
> that.
>
>
> A clean GDAL error:
>
>
>
> 0...ERROR 2: GDALRasterBlock::Internalize : Out of memory allocating
262144 bytes.ERROR 1: GetBlockRef failed at X block offset 334, Y block
offset 60
>
> The "files" are one single ECW file. 5GB compressed, about 200GB uncompressed.
>
Hi,
I am not sure if things have changed since
http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp
and discussion around
http://www.mail-archive.com/gdal-dev@lists.osgeo.org/msg04017.html
That time it was not at all good to use unnecessarily large -wm value.
-Jukka Rahkonen-
More information about the gdal-dev
mailing list