Developers,
Below is the GDALVectorTranslate C++ code. I am clearing the vsibuf with
VSIUnlink. But still memory is not vanished. Do we need to call any other
methods?
try
{
.....
....
vsibufPath = string("/vsimem/mvt-") + GetUUID();
vsibuf = vsibufPath.c_str();
dst = (GDALDataset *)GDALVectorTranslate(vsibuf, NULL, 1,
&hSrcDS, opt,
NULL);
}
catch (...)
{
throw;
}
...
...
GDALVectorTranslateOptionsFree(opt);
GDALClose(dst);
GDALClose(hSrcDS);
VSIUnlink(vsibuf);
Regards,
Rajesh
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev