Hi! i´m a newbie corona developer and working in my first game but my game use lots of memory and when i try in android device, the game “crash” when i passed the 640.000 KB. i don´t know if it is because of sprites or images. I removed everything it’s possible to remove in the images and sprites images/animations. i´m using storyboard scenes and i had many classes for many different things for a best organization but i seen that use lot of memory and now i have only the classes if really needed and i put the rest in only .lua file ( sceneGame.lua ).
I use this function to see the texture memory and memory in KB:
[lua]local function checkMemory()
collectgarbage( “collect” )
local memUsage_str = string.format( “MEMORY = %.3f KB”, collectgarbage( “count” ) )
print( memUsage_str, "TEXTURE = "…(system.getInfo(“textureMemoryUsed”) / (1024 * 1024) ) )
end
timer.performWithDelay( 1000, checkMemory, 0 )[/lua]
and returns this: MEMORY = 619.774 KB TEXTURE = 59.587890625
so like that the android device opens the game app and it works but i need put more images, functions and events to finished the game.
Can someone help me, what i have to do, if exist some limit value for memory or something?
Thanks and sucess for your app´s 
