Are there any guides to determining if a Corona app is leaking memory? And how to fix it?
I’ve read every thread in the forums that I could find on this subject…
(…a sampling…)
http://developer.anscamobile.com/forum/2010/12/30/memory-leak-touch-listener
http://developer.anscamobile.com/forum/2010/12/27/leak-or-me-not-getting-it
http://developer.anscamobile.com/forum/2010/12/08/memory-leak-when-removing-and-adding-image-sequencely
http://developer.anscamobile.com/forum/2010/11/25/memory-leak-issue
http://developer.anscamobile.com/forum/2010/12/15/memory-leak-uilua
http://developer.anscamobile.com/forum/2010/11/03/detecting-memory-leak
…and while there’s a lot of advice thrown around, I feel a bit confused. For instance, I put a display in a corner of my game that shows collectgarbage(“count”) every 100 milliseconds, and that number goes up & down all the time. The more sprites I put on the game screen, the faster that number cycles.
So I have some information, but I have no idea how to INTERPRET that information. I’m also hoping for some specific guidelines so I can be confident that my app isn’t going to get crash reports when I release it. So far my beta testers haven’t reported any problems, but I’m really worried about this.
Thanks in advance!
[import]uid: 9659 topic_id: 5041 reply_id: 305041[/import]
[import]uid: 49372 topic_id: 5041 reply_id: 34607[/import]