Hi, I’ve got an app that allows you to take and view photos.
Roughly 75% of the time on my iPhone 5s, the application crashes while opening the camera view, or just after the photo has been taken but before I tap “Use” to pass it back to Corona.
The logs indicate a Memory Warning. Using code from on this comment, I added some logging. My 2 memory warning logs look like this:
lowMemory warning - texture memory in use: 3.476 MB lua memory: 737.661 KB lowMemory warning - texture memory in use: 3.476 MB lua memory: 645.730 KB
Shortly afterwards, i get a “Exited: Killed: 9” for my app. This is shortly after starting the app, and seems to be happening with relatively low memory usage, if that log is correct.
Has anyone seen this before? It seems to be related to the camera specifically. My app has been fine with prolonged usage, but crashes often when launching the camera, even shortly after launch.
Any ideas?
Thanks!
Ben