Skip to main content
Known Participant
March 13, 2014
Answered

Low memory on Ipad leads to crash

  • March 13, 2014
  • 1 reply
  • 573 views

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 has been closed for replies.
Correct answer Colin Holgate

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.

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
March 13, 2014

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.

Known Participant
March 14, 2014

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