Original User: tjmorgan0
I just upgraded from SDK 2.2.1 to 10.1.1 update 1. After working though the changes, I got my app to work on the simulator. Tried testing it on a physical iPad 2 with iOS 6.1.3 and it started crashing. I traced the problem to excessive memory usage and then found this thread. Before the upgrade my app used around 15 MB of memory. Now it tries to use about 80 MB. The usage drops to 40 MB when I don't load the one graphics layer and back to 15 MB when I skip loading the base layer.
Base Layer Code:
tiledLyr = [[AGSBingMapLayer alloc] initWithAppID:DVCBingMapBasicKey style:AGSBingMapLayerStyleAerialWithLabels];
tiledLyr.delegate = self;
[tiledLyr renderNativeResolution];
[self.mapView addMapLayer:tiledLyr withName:@"Tiled Layer"];
My test graphics layer has 12 AGSSimpleMarkerSymbols with a one attribute each using a AGSUniqueValueRenderer.
Based on my previous experience with Core Data memory bloat, it's best to keep the app below 30 MB. Any ideas other than staying with the old SDK?