I am playing with Cocos2d nowadays and facing lot many memory related issues.
Anybody can tell me any best way to manage the memory or find memory crashes. I have tries MAT plugin(http://ww开发者_运维百科w.eclipse.org/mat/).
Any other tool or way ?
Help required. Thanks.
Most of the time, garbage collection occurs because of tons of small, short-lived objects. Try to reuse views if possible. I recommend that you go through this presentation by Dubroy. You will know how to use the tools effectively
The only other option I can think of is:
- Valgrind port for Android
精彩评论