[fdo-users] Memory issues when using FdoIGeometry
Gavin Cramer
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?
Gavin
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
Hi All,
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);
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/fdo-users/attachments/20120604/fe777aa8/attachment.html>
More information about the fdo-users
mailing list