[gdal-dev] Memory loss with RasterIO

Goo Creations goocreations at gmail.com
Fri May 27 07:01:59 EDT 2011


Hey

Thanks. I'll try playing around with different block sizes, to reduce
fragmentation.



On Fri, May 27, 2011 at 12:55 PM, Even Rouault <even.rouault at mines-paris.org
> wrote:

> You're perhaps running into memory fragmentation issues if your buffer is
> too
> big. And yes, GDAL maintains internally a block cache whose blocks are
> destroyed
> when the dataset is closed. But by default (unless you explicitely set it
> to
> another value), it is limited to 40 MB. But mixing small allocations and
> big
> allocations can indeed lead to memory fragmentation issues, especially if
> you're
> on a 32bit OS that has a limited address space.
>
> Best regards,
>
> Even
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110527/ebc41ae6/attachment.html


More information about the gdal-dev mailing list