storyboard & modular function coding

I followed the tutorial in:

http://www.coronalabs.com/blog/2011/09/05/a-better-approach-to-external-modules/

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.

Is there a way to “unrequire” them?

Thanks. [import]uid: 8780 topic_id: 35809 reply_id: 335809[/import]

https://developer.coronalabs.com/forum/2012/01/10/un-requiring-external-modules#comment-79061
[import]uid: 13560 topic_id: 35809 reply_id: 142414[/import]

Thanks! I will try this out:) [import]uid: 8780 topic_id: 35809 reply_id: 142419[/import]

https://developer.coronalabs.com/forum/2012/01/10/un-requiring-external-modules#comment-79061
[import]uid: 13560 topic_id: 35809 reply_id: 142414[/import]

Thanks! I will try this out:) [import]uid: 8780 topic_id: 35809 reply_id: 142419[/import]

@staytoooned

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]

I did try this, but unfortunately, it did not fix my memory leak. [import]uid: 8780 topic_id: 35809 reply_id: 143239[/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]

@staytoooned

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]

I did try this, but unfortunately, it did not fix my memory leak. [import]uid: 8780 topic_id: 35809 reply_id: 143239[/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]