AnsweredAssumed Answered

iOs SDK Memory Leak

Question asked by bhenson on Mar 6, 2012
Latest reply on Mar 8, 2012 by bhenson
When creating a simple map in a UIView controller I seem to be getting a memory leak when the map initializes. The leak according to Instruments is coming from the AGSSBJsonStreamParser init method.

I am using ESRI's sample map:
http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer

iOs SDK Version 2.1

Once the map loads I can pan and zoom without further leaks.

Now if I add geocoding I get the same leak (AGSSBJsonStreamParser) after each geocode session. The single leak at startup seems minor but when doing a considerable amount of geocoding the leaked memory starts to add up. Has anyone encountered this issue?

Thanks.

Outcomes