Android Development Resources
Eclipse
DDMS
How to enable native heap tracking in DDMS
Tips for Optimizing Android* Application Memory Usage
使用DDMS中的内存监测工具Heap来优化内存
Memory Analyzer Tool (MAT)
Memory Analyzer 1.5.0 Release
- homepage: http://www.eclipse.org/mat/
- download page: http://www.eclipse.org/mat/downloads.php
Eclipse Memory Analyzer (MAT) - Tutorial
10 Tips for using the Eclipse Memory Analyzer
http://eclipsesource.com/blogs/2013/01/21/10-tips-for-using-the-eclipse-memory-analyzer/
[Android] 内存泄漏调试经验分享 (二)
- intro: 内存监测工具 DDMS –> Heap, 内存分析工具 MAT(Memory Analyzer Tool)
- blog: http://rayleeya.iteye.com/blog/755657
Hunting Your Leaks: Memory Management in Android (Part 2 of 2)
- blog: http://www.raizlabs.com/dev/2014/04/hunting-your-leaks-memory-management-in-android-part-2-of-2/
Valgrind
Valgrind
- intro: Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail.
- homepage: http://valgrind.org/
The compiler under Windows Valgrind for Android
- intro: Windows 7, Cygwin, Valgrind 3.9.0
- blog: http://www.programering.com/a/MjM3UzMwATE.html
- csdn: http://blog.csdn.net/foruok/article/details/20701991
Building and running valgrind on Android
- blog: https://blog.frals.se/2014/07/02/building-and-running-valgrind-on-android/
- gist: https://gist.github.com/frals/7775c413a52763d80de3
android valgrind build
valgrind: failed to start tool ‘memcheck’ for platform ‘arm-linux’: Permission denied
- blog: http://none53.hatenablog.com/entry/20150325/1427249228
- my notes: this blog really helped me..
LeakCanary
LeakCanary: A memory leak detection library for Android and Java