I use the print() religiously, like most.
I started watching my MemUsage and Texture Usage with this script I found somewhere in the site:
local monitorMem = function()
collectgarbage()
print( "MemUsage: " .. collectgarbage("count") )
local textMem = system.getInfo( "textureMemoryUsed" ) / 1000000
print( "TexMem: " .. textMem )
end
Runtime:addEventListener( "enterFrame", monitorMem )
It makes me wonder, do the prints() gets stopped/erased during a build? Or do devices have terminals that this info can be read from as well?
I only ask since I have many of these in my scripts. [import]uid: 154122 topic_id: 28665 reply_id: 328665[/import]