[gdal-dev] gdalwarp crash

Simon Lyngby Kokkendorff silyko at gmail.com
Mon Feb 25 05:46:17 PST 2013


Hi Even,

  Thanks for the pointer - might try again with the -multi option. Anyway,
the -co TILED=YES is speeding things up drastically (something like a
factor 10).

  Cheers,
  Simon


On Mon, Feb 25, 2013 at 1:16 PM, Even Rouault
<even.rouault at mines-paris.org>wrote:

> Le lundi 25 février 2013 11:13:47, Simon Lyngby Kokkendorff a écrit :
> > Hi Even,
> >
> > > When you say "crashed", you mean it exited with the integer overflow
> > > error (to
> > > be opposed as the windows that is displayed by Windows when a process
> > > really
> > > crashes) ?
> >
> >   Yes, it didn't really crash, but exited with the integer overflow error
> > message.
> >
> > The issue is rather with the -wm 3072. The warping algorithm will
> currently
> >
> > > cast a integer overflow error when a memory allocation above 2 GB is
> > > attempted.
> > > So you should try -wm 2047 or less. There's rarely a significant
> > > advantage in
> > > using so big values for -wm.
> >
> > Ahh, I see. I was using win64 and just assumed that setting -vm high
> might
> > speed things up.
>
> See
>
> http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#WillincreasingRAMincreasethespeedofgdalwarp
>
> > Will try to create a tiled output image :-)
> > By the way, I also tried using -multi to speed up (with otherwise the
> same
> > options, I think), but got an error saying something like "Unable to
> aquire
> > IOMutex" (unfortunately I haven't got the exact output).
>
> Hum, this might be a side effect of a particular high value of -wm which
> cause
> particularly big, and consequently long, I/O operations. The mutex
> timeouts at
> 10 minutes currently. Usually unitary I/O operations only last a few
> seconds
> or dozains seconds.
>
> >
> > Thanks,
> > Simon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130225/dcdbb4b9/attachment.html>


More information about the gdal-dev mailing list