Re: [gdal-dev] GDAL memory management

2020-04-30 Thread Jesús
Thanks for your answer, Even. I would want that, yes, but I was prepared for the answer being no :(. I also though computational complexity would be the problem, but I checked with VTune and it points the other way (malloc, free, realloc). Moreover, performance is worse each time I execute the sa

Re: [gdal-dev] GDAL memory management

2020-04-30 Thread Even Rouault
Jesús, > > 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 probl

[gdal-dev] GDAL memory management

2020-04-29 Thread Jesús
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 in