Hi Gavin<br><br>Thanks. I am using it in a single threaded environment.<br><br>Snehal<br><br><div class="gmail_quote">On Mon, Jun 4, 2012 at 3:27 PM, Gavin Cramer <span dir="ltr"><<a href="mailto:gavin.cramer@autodesk.com" target="_blank">gavin.cramer@autodesk.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Howdy.  Is either the geometry object or the byte array being passed between threads?<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Gavin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Snehal Joshi<br>
<b>Sent:</b> Monday, June 04, 2012 4:11 PM<br>
<b>To:</b> FDO Users Mail List<br>
<b>Subject:</b> [fdo-users] Memory issues when using FdoIGeometry<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi All,<br>
<br>
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.
<br>
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. <br>
<br>
FdoPtr<FdoIGeometry> geometry = geometryFactory->CreateGeometryFromFgf(geometryArray);<br>
<br>
Thanks!<u></u><u></u></p>
</div></div></div>
</div>

<br>_______________________________________________<br>
fdo-users mailing list<br>
<a href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fdo-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><br>
<br></blockquote></div><br>