[Android] View Memory Usage
(2010-04-08 13:14)
分类: Android
- Android查看memory usage
http://allstarschh.blogspot.com/2009/07/androidmemory-usage.html - How to discovery memory usage on my application in android?
http://stackoverflow.com/questions/2298208/how-to-discovery-memory-usage-on-my-application-in-android - Analyzing the memory usage of your Android application
http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html - Tools Summary
- DDMS
- Make sure DDMS is connected with devices/simulator
- On DDMS, press device/simulator name
- Press property page 'Sysinfo', then select 'Memory usage' on the combo-box. - adb shell dumpsys meminfo <package-name>
- adb shell top
- adb shell procrank
- adb shell showmap <pid>
- Peak Memory Usage
- hprof-conv
- ...


