iOS6 MKMapView using a ton of memory, to the point of crashing the app, anyone else notice this?

Posted by Jeremy Fox on Stack Overflow See other posts from Stack Overflow or by Jeremy Fox
Published on 2012-09-28T14:09:42Z Indexed on 2012/09/28 15:37 UTC
Read the original article Hit count: 323

Has anyone else, who's using maps in their iOS 6 apps, noticing extremely high memory use to the point of receiving memory warnings over and over to the point of crashing the app?

I've ran the app through instruments and I'm not seeing any leaks and until the map view is created the app consistently runs at around ~3mb Live Bytes. Once the map is created and the tiles are downloaded the Live Bytes jumps up to ~13mb Live Bytes. Then as I move the map around and zoom in and out the Live Bytes continuos to climb until the app crashes at around ~40mb Live Bytes. This is on an iPhone 4 by the way. On an iPod touch it crashes even earlier.

I am reusing annotation views properly and nothing is leaking. Is anyone else seeing this same high memory usage with the new iOS 6 maps? Also, does anyone have a solution?

© Stack Overflow or respective owner

Related posts about memory

Related posts about memory-management