[gdal-dev] GDAL memory management

Jesús knoonk at gmail.com
Wed Apr 29 23:22:58 PDT 2020


Hi,

I have been working with C/C++ and GDAL with GEOS for some time now and I
have a question about GDAL memory management.

I wonder if there are any memory management options or tips to control
allocations and deallocations in the library since we are noticing
performance problems as our data increases in complexity, mainly OGR
operations (intersection, simplify).

For example, I would expect something to do the same as:
- std::allocator: http://www.cplusplus.com/reference/memory/allocator/
- CGAL allocator:
https://doc.cgal.org/latest/Manual/devman_memory_management.html
- SQLite memory allocation routines:
https://www.sqlite.org/c3ref/mem_methods.html

I have been looking for it, but GDAL is so big that maybe I missed
something.

Thanks,

Jesus Cano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200430/40362a6b/attachment.html>


More information about the gdal-dev mailing list