[fdo-users] Memory issues when using FdoIGeometry
gavin.cramer at autodesk.com
Mon Jun 4 13:27:52 PDT 2012
Howdy. Is either the geometry object or the byte array being passed between threads?
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Snehal Joshi
Sent: Monday, June 04, 2012 4:11 PM
To: FDO Users Mail List
Subject: [fdo-users] Memory issues when using FdoIGeometry
I am using FDO to read feature data from ArcSDE server which has large number of objects. While I am able to read all the data, the memory usage goes up really quickly and there is no significant change even after I call the close() method on the feature reader.
After some debugging it looks like the reference count for the geometry (as in the snippet below) doesn't go to zero even after the FdoPtr destructor has been called. I am pretty sure it could be something I am missing, will appreciate any pointers in this regard.
FdoPtr<FdoIGeometry> geometry = geometryFactory->CreateGeometryFromFgf(geometryArray);
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fdo-users