Android: tools to find memory leaks? [closed]

北战南征 提交于 2019-12-18 12:38:44

问题


Are there some useful tools to detect memory leaks in Android Java applications? Something similar to Valgrind where the place of creation of a non-freed object is shown?


回答1:


Watch this: http://www.youtube.com/watch?v=_CruQY55HOk

Then install MAT for Eclipse. Happy hounting!




回答2:


read this post on Android Developer Blog, it has what you need http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html



来源:https://stackoverflow.com/questions/12041297/android-tools-to-find-memory-leaks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!