tool to check memory leaks in android [closed]
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
开发者_开发技巧Closed 8 years ago.
Improve this questionIs there any nice tool to check memory leaks in android?
any help will be appreciative.
Tool "Traceview" will also be helpful to you. This comes with the android sdk.
Refer to the following link for more detail.
http://developer.android.com/guide/developing/tools/traceview.html
https://developer.android.com/studio/profile/traceview.html
You can try using Memory Analyzer to check Memory leaks in Android
http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html
A different and more detailed version of this question is discussed in that address imho What Android tools and methods work best to find memory/resource leaks?
http://source.android.com/source/download.html mentions about tool called Valgrind:
You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.
$ sudo apt-get install valgrind
精彩评论