<div dir="ltr"><span style="color:rgb(80,0,80);font-size:13px">Dear Even Rouault</span><br><div><span style="color:rgb(80,0,80);font-size:13px"><br></span></div><div><span style="color:rgb(80,0,80);font-size:13px">Whether I use '-multi' or not, '-wm 1024' works, but '-wm 3024' does not work in my PC.</span></div><div><span style="color:rgb(80,0,80);font-size:13px"><br></span></div><div><span style="color:rgb(80,0,80);font-size:13px">I re-tested it, and again </span><span style="color:rgb(80,0,80);font-size:13px">with in a very </span><span style="color:rgb(80,0,80);font-size:13px">few minutes, a completely black image is produced.</span></div><div><span style="color:rgb(80,0,80);font-size:13px"><br></span></div><div><span style="color:rgb(80,0,80);font-size:13px">Thanks for your support.</span></div><div><span style="color:rgb(80,0,80);font-size:13px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 24, 2014 at 7:30 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le mercredi 24 décembre 2014 11:19:14, Simen Langseth a écrit :<br>
<span class="">> Dear Even Rouault<br>
><br>
> Thanks for your answer.<br>
><br>
> When I used more than 1024 mb for sub-sampling an image, strangely with in<br>
> few minutes, a completely black image is produced.<br>
<br>
</span>Hum, I'm just fixing a but wher putting more in -wm caused issue but it was<br>
very specific : <a href="http://trac.osgeo.org/gdal/ticket/5789" target="_blank">http://trac.osgeo.org/gdal/ticket/5789</a><br>
<span class=""><br>
> Using 1024 is not sufficient because my input file is around 300GB.<br>
<br>
</span>Eh, read again what I wrote : "putting more warp memory will not necessarily<br>
need to more performance". -wm is the size of individual chunks that will be<br>
warped. Working on very big chunks is actually detrimental if you want to use<br>
-multi since there will be less opportunity to parallelize I/O and CPU bound<br>
operations.<br>
If not already done, you'll get probably much more performance by for example<br>
ensuring you output to a tiled GeoTIFF, by adding -co TILED=YES<br>
<div class="HOEnZb"><div class="h5"><br>
> I could<br>
> not figure out the problem. I am also using '-multi' parameter.<br>
> There is no problem if I do not use '-wm' and '-multi' parameters or just<br>
> use 1024 with '-wm' and '-multi' except very slowness.<br>
><br>
> I hope you can help me.<br>
><br>
> Simen<br>
><br>
><br>
><br>
> On Wed, Dec 24, 2014 at 6:50 PM, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>><br>
><br>
> wrote:<br>
> > Le mercredi 24 décembre 2014 06:05:50, Simen Langseth a écrit :<br>
> > > What is the maximum '-wm' I can use with 64bit gdalwarp?<br>
> ><br>
> > Simen,<br>
> ><br>
> > Up to 9999 for 9999 MB. And if you want more, you have to specified the<br>
> > value<br>
> > in bytes instead of megabytes.<br>
> > But putting more warp memory will not necessarily need to more<br>
> > performance, especially if you mosaic many small images into a big one.<br>
> ><br>
> > See<br>
> ><br>
> > <a href="https://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#WillincreasingRAMincre" target="_blank">https://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#WillincreasingRAMincre</a><br>
> > asethespeedofgdalwarp<br>
> ><br>
> > Even<br>
> ><br>
> > --<br>
> > Spatialys - Geospatial professional services<br>
> > <a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
<br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
</div></div></blockquote></div><br></div>