iOs SDK Memory Leak

1804
2
Jump to solution
03-06-2012 07:18 AM
JohnBridges1
New Contributor
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.
0 Kudos
1 Solution

Accepted Solutions
NimeshJarecha
Esri Regular Contributor
Could you please post the sample project you have created and memory leak results from Instruments?

Regards,
Nimesh

View solution in original post

0 Kudos
2 Replies
NimeshJarecha
Esri Regular Contributor
Could you please post the sample project you have created and memory leak results from Instruments?

Regards,
Nimesh
0 Kudos
JohnBridges1
New Contributor
Could you please post the sample project you have created and memory leak results from Instruments?

Regards,
Nimesh


This memory issue will be addressed in the next version of the api.
0 Kudos