Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 7 memory issues

I was recently trying to make my iOS 6 compatible app work with iOS 7 (noted still in beta). So i had my boss install iOS 7 on his iPhone 4S. We noticed that camera picker was slow and not responsive, and when we take a picture everything freezes. When i run the profile with memory allocations i notice that we have a really high memory usage : 160 MB. and btw we received a loot of memory warnings. So i tried running on the iPhone that still has ios6 and the maximum memory spike was 16 MB. Has anyone encountered this problem? Thank you

like image 777
Alexandru Dranca Avatar asked Oct 02 '22 22:10

Alexandru Dranca


1 Answers

I do observe different Memory numbers on iOS 6 & iOS 7. I have an app that makes use of openGL (a 3D viewer), and of AVFoundation (my own camera implementation, with AVCaptureDevice...)

I ran the app on iPhone 4S with iOS 6, and on iPhone 4 with iOS 7, my observations so far :

  • Allocations, Dirty & resident VM sizes reported by Instruments seem higher on iOS 7 than iOS 6 (50% to 100% higher)

BUT

  • I get much less Memory warning with iOS 7 (although I probably would have to repeat these tests to get more reliable results)
like image 165
Vinzzz Avatar answered Oct 12 '22 10:10

Vinzzz