Memory leak in ArcGIS aggregate points/buffer/Addfield/cursor?

المشرف العام

Administrator
طاقم الإدارة
I am starting to have concerns about the ability of ArcGIS 10 to fulfill a deliverable of mine.

ET Geowizards has been tried, although it doesn't have the same capability of ArcGIS e.g. I cannot aggregate all of the points I have with ET, to the scale I have them plotted.

There is a memory leak, which means looping through 700 objects, performing:

  1. Agg Points.
  2. Buffer.
  3. Add Field.
  4. Update cursor.
Starts off taking 5-9 secs per object, and continues on to 2 mins per (similarly sized) object.

In SP2, it appears AggPoints no longer works to create an FC on the fly. There is more, but it's too long a list to compile!

Code, simplied with no buffer, add field or cursor. geom is a collection or arcpy points

def createGeom(geom, scratchDB): filetime = (str(time.time())).split(".") outfile = "fc" + filetime[0]+filetime[1] outpath = scratchDB + "tmpV.gdb/Polygon/" outFeatureAggClass = outpath+outfile +"_Agg" arcpy.AggregatePoints_cartography(geom, outFeatureAggClass,"124000 meters")Seems to be that the size of the file geodatabase we're writing to is one of the main issues; I think the problem is that performance degrades as the local file geodatabase fills up - significantly.

Any ideas how to tune local file geodatabase?



أكثر...
 
أعلى