Memory leak?

Monkey Targets Forums/iOS/Memory leak?

AntonM(Posted 2012) [#1]
I noticed strange memory behavior in my game. Each time after launch the game uses different amounts of memory. After loading of resources can be used from 60mb to 120mb, but if I suspend and resume the application, the memory is occupies 50 mb. Also after deleting of resources, the memory is not released completely. This is a memory leak or monkey error?


benmc(Posted 2012) [#2]
I'm glad you brought this up. How are you monitoring the memory? I'm not very familiar with XCode.

My game seems to grow more sluggish after each restart from a suspended state and it's making me a bit nervous that a memory leak is in there somewhere.


Ironstorm(Posted 2012) [#3]
Run -> Profile, and then the Instruments will be waken up and you can choose between different monitor types.


AntonM(Posted 2012) [#4]
In addition to the Profiler I also use this function