local monitorMem = function()
collectgarbage()
print( "MemUsage: " … collectgarbage(“count”) )
local textMem = system.getInfo( “textureMemoryUsed” ) / 1000000
print( "TexMem: " … textMem )
end
Runtime:addEventListener( “enterFrame”, monitorMem )
Hi,
I used this code to monitor memory usage of my game.
On MemUsage it prints 550. Does that mean app is using 550mb of RAM or is it just something about memory leaking?