<div dir="ltr">On 2 December 2013 18:32, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Le lundi 02 décembre 2013 19:12:07, Jonathan Moules a écrit :<br>


> Hi Even,<br>
<div class="im">> To hit the 10GB limit I'm using (Windows Server 2008):<br>
><br>
> gdal_translate -of GTiff -co TILED=YES -co BIGTIFF=YES -co COMPRESS=JPEG<br>
> -co JPEG_QUALITY=60 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co<br>
> PHOTOMETRIC=YCBCR 2000.vrt 2000.tif<br>
><br>
> I tried adding:  --config GDAL_CACHEMAX 27000000000 but then it'd just<br>
> crash with out-of-memory (it wouldn't actually stop at 27GB; so I guess<br>
> that works differently again).<br>
<br>
</div>Crash (Windows dialog) or "clean" exit with a GDAL error message ?<br>
What are the files (TIFF, ECW, ...) in the VRT ?<br>
I don't see anything wrong, and have not OS and hardware specs to reproduce<br>
that.<br></blockquote><div><br></div><div>A clean GDAL error:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

0...ERROR 2: GDALRasterBlock::Internalize : Out of memory allocating 262144 bytes.<br>ERROR 1: GetBlockRef failed at X block offset 334, Y block offset 60</blockquote></div><div><br></div><div>The "files" are one single ECW file. 5GB compressed, about 200GB uncompressed.</div>

</div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>