My app prints out the memory usage like this
local memUsage\_str = string.format( "MEMORY = %.3f KB", collectgarbage( "count" ) ) local textureMemUsed = system.getInfo("textureMemoryUsed") / (1024 \* 1024)
and the output is like this
I/Corona (14741): MEMORY = 996.668 KB
I/Corona (14741): TEXTURE used = 58.0615234375
My texture memory is now under control, but I found the MEMORY used by Lua (collectgarbage (“count”)) keeps increasing.
It is now at 1600-1800 KB, and I think it will keep going up if I keep using my app.
Is this normal? How far can it go? And at what point I should be cautious?
thanks.