hello,
In corona, can I check the iphone memory as the os.clock function ?
Thanks [import]uid: 5563 topic_id: 649 reply_id: 300649[/import]
hello,
In corona, can I check the iphone memory as the os.clock function ?
Thanks [import]uid: 5563 topic_id: 649 reply_id: 300649[/import]
Not yet. We are debating internally how to expose that. We had similar issues when working on another platform.
Would a system.getAvailableMemory() system.getFreeAvailableMemory() is kind of what you are looking for.
getAvailableMemory would return = all available memory for your app
getFreeAvailableMemory would return = the free memory available for your app
Carlos [import]uid: 24 topic_id: 649 reply_id: 1295[/import]
Yes for example. Or rather a function type Runtime:freeMemory() and Runtime:totalMemory() as in Java…
I think these functions are not again available ?
[import]uid: 5563 topic_id: 649 reply_id: 1307[/import]
Did anything ever come of this?
It’d be really handy for tracking down leaks. [import]uid: 11757 topic_id: 649 reply_id: 27087[/import]