[Gdal-dev] Problem with gdal_translate
Mateusz Loskot
mateusz at loskot.net
Thu Nov 15 19:01:11 EST 2007
SAEZ Laurent - CETE Méditerr./DI/ETER wrote:
> Hi,
>
> I have already explained the problem with gdalwarp using a big ECW (7Go).
> I've tried to translate this big ECW to HFA using this command :
>
> "gdal_translate -of HFA -a_srs EPSG:27572 "G:\34-2005-LA2E-C10.ecw" "I:\34-2005-LA2E-C10.img"
> Input file size is 280000, 180000
> 0...10...20...30.ERROR 2: CPLMalloc(): Out of memory allocating 49227500 bytes.
Try to use increase memory use with GDAL_CACHEMAX, for example:
--config GDAL_CACHEMAX 512
See --config option explained here
http://www.gdal.org/gdal_utilities.html
Cheers
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the gdal-dev
mailing list