Any advice re what would be a reasonable target to be aiming for regarding memory & texture memory usage with Corona. Perhaps (a) ideal target and (b) at worst/maximum would be good (the later being if you go higher than this max you would then typically see performance issues starting on one or more device types). Could assume:
a) targeting the various platforms Corona can export to, and
b) assuming you’re targeting say the more recent 90% or so of the devices (i.e. just leaving off a small percentage of older devices so to speak)
Background: I’m starting to run debug code per http://www.coronalabs.com/blog/2011/08/15/corona-sdk-memory-leak-prevention-101/ and I’m wondering if there are some useful targets to aim for.
local monitorMem = function()
collectgarbage()
print( "MemUsage: " .. collectgarbage("count") )
local textMem = system.getInfo( "textureMemoryUsed" ) / 1000000
print( "TexMem: " .. textMem )
end
Runtime:addEventListener( "enterFrame", monitorMem )
[import]uid: 140210 topic_id: 30633 reply_id: 330633[/import]
[import]uid: 52491 topic_id: 30633 reply_id: 122743[/import]
[import]uid: 52491 topic_id: 30633 reply_id: 122952[/import]