AGSSketchGraphicsLayer eat up memory in SDK 10.2.2

444
1
04-28-2014 12:00 AM
fengli
by
New Contributor
I create AGSSketchGraphicsLayer and add to the MapView. It works well before
Today I upgrade the SDK to 10.2.2. It occupied nearly 1G when I create AGSSketchGraphicsLayer on App. Then it crashed because it received high memory warning.

How to solve it? 
Addition, my app has ARC on.
Thank you!
0 Kudos
1 Reply
YueWu1
by Esri Regular Contributor
Esri Regular Contributor
Hello Feng,

I would suggest try the latest version of the ArcGIS Runtime for iOS SDK 10.2.3
https://developers.arcgis.com/ios/

Also, here I shared with a snippet of using the AGSSketchGraphicsLayer, I think the way of adding the graphics also can effect the consume how memory.

https://github.com/goldenlimit/iOSRandomPoint
0 Kudos