Hi Even,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
</div>BigTIFF support likely works as expected. In that instance, the error comes from<br>
the huge value used for the -wm option of gdalwarp. Try to keep it below 2000.<br>
If I remember well, there must be a sanity check in the warping algorithm to<br>
prevent allocation of buffers above 2 GB, to avoid errors in 32bit environmenet.<br>
And in 64bit builds, there's little gain to expect from such huge values anyway.<br>
The GDAL_CACHEMAX value is also probably much bigger than really needed. In any<br>
case, you must make sure that the available RAM is at least the sum of the 2<br>
values, otherwise you'll get into disk swapping, which will anihilate the<br>
benefit of those optimizations.<br>
<br>
If you are playing with cache values, you must make sure to read and understand<br>
<a href="http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#WillincreasingRAMincreasethespeedofgdalwarp" target="_blank">http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#WillincreasingRAMincreasethespeedofgdalwarp</a><br>

. To sum it up : "bigger is not necessarily better"<br>
<br>
But you could likely benefit from adding -co TILED=YES to produce a tiled<br>
GeoTIFF.<br>
<br>
And specifying -co BIGTIFF=YES is rarely needed. Recent GDAL builds will figure<br>
automatically if BigTIFF is necessary for uncompressed files. If you ask for<br>
compressed GeoTIFF, the heuristics might fail and the explicit BIGTIFF=YES<br>
option might be necessary.<br></blockquote><div><br>thank you for valuable hints,<br>now I'm trying with:<br><br>CACHE="--config GDAL_CACHEMAX 8000 -wm 2000"<br>gdalwarp $CACHE -srcnodata -9999 -dstnodata -9999 -r bilinear -tr $RES $RES $LIST mosaik_$RES.tif -co TILED=YES<br>
</div></div><br>It is taking long, of course, but somehow it is working and I don't get error, so I have good expectations.. I'll keep you posted about the results :-)<br><br>Regards,<br clear="all"><br>-- <br>Dr. Margherita Di Leo<br>