laptop and a wrench

Bug

ISpatialFilter causes a memory leak to occur when instantiated several thousand times in a loop, which also instantiates several search cursors.

Last Published: November 17, 2016 ArcGIS for Desktop
Bug ID Number BUG-000100462
SubmittedOctober 28, 2016
Last ModifiedMarch 30, 2022
Applies toArcGIS for Desktop
Version found10.2.1
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusWill Not Be Addressed

Additional Information

Instantiate the Spatial filter object outside the loop and assign the corresponding geometry for each feature in each iteration. Follow the recommended best practices as shown at: http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#09bd8059-f031-4b88-bac8-3b4b73dccb05.htm

Steps to Reproduce

Bug ID: BUG-000100462

Software:

  • ArcGIS for Desktop

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic