Android: tools to find memory leaks? [closed]

2019-02-05 09:02发布

问题:

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