[fdo-users] Memory issues when using FdoIGeometry

Dan Stoica dan.stoica at autodesk.com
Mon Jun 4 13:55:37 PDT 2012


How about the geometryArray?  Is it released?

Dan.
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:41 PM
To: FDO Users Mail List
Subject: Re: [fdo-users] Memory issues when using FdoIGeometry

Hi Gavin

Thanks. I am using it in a single threaded environment.

Snehal
On Mon, Jun 4, 2012 at 3:27 PM, Gavin Cramer <gavin.cramer at autodesk.com<mailto:gavin.cramer at autodesk.com>> wrote:
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> [mailto: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!

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org<mailto:fdo-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/fdo-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/fdo-users/attachments/20120604/b37965e5/attachment.html>


More information about the fdo-users mailing list