Menu

android app out of memory

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
Posted by chanser 2012-06-15 Labels: android oom procrank

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.