I am working on a project. I Run my project And found the Consumed memory is 27 MB only. App is using a camera. When I open up the Camera the app terminates. My app is terminating even the consumed memory is 27 MB only. What Should I do now. I am sorry If am asking simple question, am new this language and stackoverflow. I searched Google and stackoverflow, I found some posts. Didn't find anything working for me.
Asked
Active
Viewed 419 times
1
-
Are you testing your app on iPhone4 or iPhone4S? Is app working fine on iOS6 or iPhone 5? – Pawan Sharma Jan 24 '14 at 06:08
-
Can you show some code where you initialize your Camera ViewController? – ajfigueroa Jan 24 '14 at 06:08
-
could you show your code? It may related to coreGraphics method. post code if related to that? – Mani Jan 24 '14 at 06:09
-
1How do you know that memory pressure cause the crash ? – KudoCC Jan 24 '14 at 06:10
-
If any of those objects use UIImage, then the memory is recorded elsewhere. Watch some of the optimization videos from WWDC to learn more. – borrrden Jan 24 '14 at 06:16
-
Are you testing on a real device or the simulator? If it is the simulator then your app will definitely crash. – yoninja Jan 24 '14 at 06:26
-
I think this will be useful: http://stackoverflow.com/questions/21888366/ios-7-uiimagepicker-preview-black-screen/22000982#22000982 – Max Yankov Apr 22 '14 at 10:55