[gdal-dev] Memory loss with RasterIO

Even Rouault even.rouault at mines-paris.org
Fri May 27 06:55:32 EDT 2011


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


More information about the gdal-dev mailing list