开发者

Android Memory Crashes

开发者 https://www.devze.com 2023-04-12 20:52 出处:网络
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开发者_运维

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号