Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

It seems that when geometries are removed from an IGraphicTracker instance, the geometries remain in memory until IAoInitialize.Shutdown() is called. I have tried removing the geometries by calling the IGraphicTracker.RemoveAll() method and by storing the IDs returned by IGraphicTracker.Add() method and calling the IGraphicTracker.Remove() method for each ID.

Is there something that I'm missing in the example provided below?

I'm currently using ArcGIS 10.1 and Visual Studio 10 targeting .NET Framework 3.5.

An example can be found here: http://forums.arcgis.com/attachment.php?attachmentid=20140&d=1356115382

This problem was originally noted on the ESRI Dev Forum: http://forums.arcgis.com/threads/72516-Memory-Leak-with-Graphic-Tracker

share|improve this question
    
Once try with framework 4.0 –  Jagadesh Aug 19 '13 at 13:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.