on 10-24-2011 7:21 PM
When the device receives memory warning, my local database (which stores all the data synchronized from the SUP server) gets deleted, and this causes the app to crash when it trys to get data from the local database then. Where can I find the code that deletes the local database when memory warning is received? Thanks!!
Its a feature of iphone OS. Looks like your app is consuming more memory and CPU which makes the iphone OS to force shutdown the app. Make sure there are no memory leaks(make use of Instruments and debugging tools) , or try using ios5 bundled with xcode4.2 latest, which has ARC (Automatic Reference Counting)
Edited by: kiranpk1988 on Nov 7, 2011 11:37 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.