@shane.lipscomb: Memory will climb depending on what is on the next scene, but once the Lua garbage collector catches up, it will go back down. In the Sample, continue transitioning through the scenes and youâll see memory usage will go back down. It may take a few rounds before you see this happen.
What I recommend is uncomment the block at the end of main.lua to see memory usage (and texture memory usage) updated in realtime (via the terminal) ⌠this way youâll see memory usage going up and reaching a certain point, but never going past that point, and eventually going back down to close to where it was originally (as you go through the scenes).
When I run it, MemUsage climbs to about 0.4mb but then at some point goes back down to about 0.2mb and keeps fluctuating from there. That is expected.
It would be a problem if it continued to go past 0.4mb, and never went back down from there. The fact that itâs going back down, and never going past a certain point shows that there is no memory leaks.
If you were transitioning between scenes relatively quickly, you might see it go up to a higher threshold, but it will go back down once the Lua garbage collector kicks in.
Hope that helps! [import]uid: 52430 topic_id: 17828 reply_id: 68061[/import]