how to check your android app memory leak.
In my project,There is a good way.
Just like this.
~/workspace/android-sdk-linux/platform-tools$
------------------------the file-----------------
1 2 3 4 5 6 | #!/bin/bash while true; do ./adb shell procrank | grep "your app package name" sleep 1 done |