I am trying to figure out why this:
[lua]loadingGroup:removeSelf()
collectgarbage(“collect”)[/lua]
Seems to do nothing as my memory usage stays high for a painfully long time.
where as this:
[lua]loadingGroup:removeSelf()
timer.performWithDelay(1, function() collectgarbage(“collect”) end)[/lua]
Drops my used texture memory almost immediately?
I’m cycling full screen instructional pages and when the user chooses to “skip”, I need this memory back as fast as I can get it. My method works, I just don’t understand why and it bugs me. heh [import]uid: 9187 topic_id: 4037 reply_id: 304037[/import]