Skip to main content
Known Participant
Mar 13, 2014 10:58 PM UTC
Answered

Low memory on Ipad leads to crash

Dear developers, I am testing out a new app today and noticed that the app crashed when it was saving information to memory.  The information is not larger then a kilobyte and the Ipad had over 50 megabytes left, but I continuously got the crash.

When I removed some things on the Ipad and increased the memory to a gig, the crash disappeared and I no longer had problems. 

A few weeks ago, I remember reading about this from another developer post but cannot recall if there was a solution and cannot find the post now.  Was there any solution to this?  Is there a way to detect low memory on the Ipad and hence prevent the crash.

Thank you,

Justin

This topic is closed to new replies. Start a new post to keep the conversation going.
Colin Holgate
Colin HolgateCorrect answer
Inspiring
Mar 13, 2014 11:06 PM UTC

That might have been me. Here’s the bug report, if you want to go over and vote for it:

https://bugbase.adobe.com/index.cfm?event=bug&id=3711301

Meanwhile, do a try/catch when you’re trying to save data. You still won’t have saved data, but at least your app won’t crash. When the error happens you could alert the user that their storage is low, and that the save had failed.

2 replies

Colin Holgate
Colin HolgateCorrect answer
Inspiring
Mar 13, 2014 11:06 PM UTC

That might have been me. Here’s the bug report, if you want to go over and vote for it:

https://bugbase.adobe.com/index.cfm?event=bug&id=3711301

Meanwhile, do a try/catch when you’re trying to save data. You still won’t have saved data, but at least your app won’t crash. When the error happens you could alert the user that their storage is low, and that the save had failed.

Translate
Known Participant
Mar 14, 2014 12:34 AM UTC

Thanks Colin....I will do what you suggested and hopefully this will help.  This crash causes the app to completely freeze and it can only be played again by a force quit.  I never thought about your solution so it was much appreciated.

Justin

Translate