and when I run Profiler to check memory usage, I’m finding that these files are growing and not getting released. This is causing huge memory leaks. I am also using storyboard within these files to pass vars. I’m noticing that the storyboard var name is not releasing in the lua file that contains it.
Did the approach suggested in lano78’s link help you out? The problem you describe sounds very much like a problem I was having on a project that I shelved late last year. I may be able to get back to it if this made a difference for you. I will give it a go myself but it’s going to take me some time to “dust the cobwebs off” that one. [import]uid: 105707 topic_id: 35809 reply_id: 143237[/import]
Thanks for the info staytoooned, sorry to hear that…
I feel like Storyboard is so close to being really awesome but whenever I set things up with it there’s always something that gets me. I’m pretty new to coding/scripting so I can never quite be sure if it’s me or some bug that’s lurking in the system.
I don’t know what level of proficiency you’re at with Lua and Corona. Since you mentioned memory leaks, I always use this post as a reference. Here it is if this is helpful to you: http://www.coronalabs.com/blog/2011/08/15/corona-sdk-memory-leak-prevention-101/
[import]uid: 105707 topic_id: 35809 reply_id: 143243[/import]
Did the approach suggested in lano78’s link help you out? The problem you describe sounds very much like a problem I was having on a project that I shelved late last year. I may be able to get back to it if this made a difference for you. I will give it a go myself but it’s going to take me some time to “dust the cobwebs off” that one. [import]uid: 105707 topic_id: 35809 reply_id: 143237[/import]
Thanks for the info staytoooned, sorry to hear that…
I feel like Storyboard is so close to being really awesome but whenever I set things up with it there’s always something that gets me. I’m pretty new to coding/scripting so I can never quite be sure if it’s me or some bug that’s lurking in the system.
I don’t know what level of proficiency you’re at with Lua and Corona. Since you mentioned memory leaks, I always use this post as a reference. Here it is if this is helpful to you: http://www.coronalabs.com/blog/2011/08/15/corona-sdk-memory-leak-prevention-101/
[import]uid: 105707 topic_id: 35809 reply_id: 143243[/import]