[Gdal-dev] "Could not allocate enough memory" when translating VRT to ECW

Frank Warmerdam warmerdam at pobox.com
Wed May 2 09:44:58 EDT 2007


Asger Sigurd Petersen wrote:
> Dear list,
> 
> While experimenting with compression of vrt-files, I've run into the
> following error:
> 
> D:\tmp>gdal_translate -of ECW --config ECW_LARGE_OK YES -co TARGET=90
> -co DATUM=WGS84 -co PROJ=NUTM32 mosaic.vrt mosaic.ecw
> Input file size is 263092, 246181
> 0..ERROR 1: An error has occurred: Error 46 "Could not allocate enough
> memory"
> file "" line 0
> ERROR 1: IReadBlock failed at X offset 0, Y offset 15825
> ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 15825
> 100 - done.

Asger,

If you can file a bug sufficient for us to reproduce this, I could have
Mateusz do some digging.  But it seems like the problems is deep in the
ECW SDK and it likely to be very hard for us to ferret out.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list