[gdal-dev] Memory fragmentation and memory consumption when warping with GCPs

Joaquim Luis jluis at ualg.pt
Tue Dec 9 21:13:45 EST 2008


> 
>> Does this aspect really have anything to do with the number of GCPs?
>> Are you using the GDAL warp algorithm?
> 
> Oh yes, with 2500 GCPs I can do the warping. And yes I'm using the
> GDAL warp algorithm (the mex is more or less a copy of gdaltransform)


Sorry for being so dumb. The GCP warping memory problem was due to a
stupid error of over allocation - nGCPCount*nGCPCount instead of the needed nGCPCount
It works fine now.

But the memory fragmentation issue is another story, and that still remains.


Joaquim Luis



More information about the gdal-dev mailing list