Configure GDAL_CACHEMAX when running optimize-rasters
tomalrussell opened this issue · 2 comments
tomalrussell commented
I've been tweaking this line and bumping CACHEMAX
to several GB seems to give a nice performance improvement when I have just a few large rasters to process and RAM to spare:
Is there a preferred way to make this configurable? Could be a check for existing GDAL_CACHEMAX environment variable and fall back to 512MB as a safe enough default?
dionhaefner commented
@tomalrussell How's this? #338
tomalrussell commented
Looks good to me, thanks @dionhaefner