I am looking for a way to profile my app and get a better handle on memory management. I am building classes like the example here: http://lua-users.org/wiki/ObjectOrientationTutorial and am using Object:new Object:delete to simulate constructors/deconstructors. One thing I am running into though is a lack of a meaningful way to look at what is happening with memory as I go through this stuff. Everything felt simple enough while building a single screen, but now that I am looking to move onto scenes I really want to dig in and figure out how to get things in and out gracefully.
Is there anything in the debugger (or debugging tools) to give out useful memory information? It would be nice at bare minimum to see what I am allocating and deallocating so that I can catch objects that may be kept in memory. Is there anything to get a list of what’s currently in memory with a map of references? Any links or advice on this subject would be greatly appreciated. [import]uid: 4555 topic_id: 5854 reply_id: 305854[/import]