[gdal-dev] RE: Memory Error in _gdal.Band_ReadRaster(*args, **kwargs)

Greg Coats gregcoats at mac.com
Fri Aug 14 16:26:52 EDT 2009


It is my understanding that the default is
gdal_translate --config GDAL_CACHEMAX 40 ...
which equates to 40 MB of memory.
If you want to allow gdal_translate to use say 2 GB of memory for  
GDAL_CACHEMAX, enter
gdal_translate --config GDAL_CACHEMAX 2000 ...
In my experience, increasing GDAL_CACHEMAX substantially speeds up  
gdal_translate processing.
Greg

On Aug 14, 2009, at 4:08 PM, Paul Meems wrote:

> I also noticed both gdal_translate and gdal_retile not use the full  
> potential of my hardware. I'm running Vista 64Bit on a AMD3 2.6Ghz  
> quadcore with 8GB RAM and only 2-2.5GB RAM was used by  
> gdal_translate, leaving more than 5 GB free and only 35-55% of my  
> CPU was used. Do I need to set some settings to speed things up?



More information about the gdal-dev mailing list