android 内存占用调试

在ubuntu下执行

~/workspace/android-sdk-linux/platform-tools$

文件

#!/bin/bash

while true; do
./adb shell procrank | grep "com.tiantianmini.android.browser"
sleep 1
done

此外还有可能用到的工具有

查看内存: cat /proc/meminfo

CUP占用:top -n 1 -d 1 -m 30 -t

详细日志:adb bugreport > /sdcard/bugreport.txt

错误trance:/data/anr/trance.txt

更多相关文章

  1. Android内存信息
  2. android:installLocation简析
  3. Android应用程序的内存泄漏问题
  4. Android(安卓)内存泄漏相关
  5. Android内核详解之Low memory killer
  6. Android内存阀值修改--内存回收机制配置
  7. Android,谁动了我的内存
  8. Android(安卓)Property System | Android属性系统
  9. 性能优化系列-Android(安卓)内存泄漏例子

随机推荐

  1. How to build and debug android source
  2. android中的ImageButton
  3. Android中Broadcast的Intent大全
  4. android Bitmap->BGR字节数组
  5. android anr
  6. Android(安卓)头像修改
  7. Android日历
  8. Android获取经纬度的值并且显示
  9. android 检测网络状态
  10. android LayerDrawable 图层的实现