Lua Memory Leak Question

@Rob,

The problem is that, it is under 1 mb just in this demo. During the whole project run, Lua memory is adding up ~100kb of memory every time I change a scene until the point where garbage collector can no longer free any Lua memory. It starts adding up in those scenes that I uploaded and doesn’t add up any memory after I go back to main menu and start all over again like it’s alive all the time. Can you take a look at the sample project?

@jack95,

Can you upload what you’ve done so that it can be a reference for me when migrating?

Here you go. This is only the screens that you gave me. Also, if you profile the migrated demo, you’ll see the leak is much much smaller.

I’m really grateful for your help. I see that the leak is reduced to 10 kb. I’ll try to fully migrate my code to Storyboard as it seems to be working better for me now.

I’ll post the final results here after I tried it out. Still, if there is anyone that can point out the leak with the current code base is much appreciated.