Hey<br><br>Thanks. I'll try playing around with different block sizes, to reduce fragmentation.<br><br><br><br><div class="gmail_quote">On Fri, May 27, 2011 at 12:55 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">You're perhaps running into memory fragmentation issues if your buffer is too<br>
big. And yes, GDAL maintains internally a block cache whose blocks are destroyed<br>
when the dataset is closed. But by default (unless you explicitely set it to<br>
another value), it is limited to 40 MB. But mixing small allocations and big<br>
allocations can indeed lead to memory fragmentation issues, especially if you're<br>
on a 32bit OS that has a limited address space.<br>
<br>
Best regards,<br>
<font color="#888888"><br>
Even<br>
</font></blockquote></div><br>