out of memory logs in android app

In android system, the memory maybe insufferent, then there maybe following logs occur:

[1] am_low_memory, this is the log printed from system, it report the memory is low.

[2] ActivityManager will do oom audjstment:

ActivityManager: Applications Memory Usage (kB):
ActivityManager: Uptime: 22351328 Realtime: 22380667
ActivityManager: Total PSS by OOM adjustment:
ActivityManager:     99955 kB: System
ActivityManager:                99955 kB: system (pid 410)
ActivityManager:     90956 kB: Persistent
ActivityManager:                43905 kB: com.android.systemui (pid 609)
ActivityManager:                30690 kB: com.android.musicfx (pid 734)
ActivityManager:                10078 kB: com.android.phone (pid 691)
ActivityManager:                 6283 kB: com.intel.security.service (pid 701)
ActivityManager:     46211 kB: Foreground
ActivityManager:                46211 kB: com.android.launcher (pid 869)
ActivityManager:      6232 kB: Visible
ActivityManager:                 6232 kB: com.android.smspush (pid 850)
ActivityManager:    332716 kB: Perceptible
ActivityManager:               311037 kB: com.android.browser (pid 8740)
ActivityManager:                15587 kB: com.android.inputmethod.pinyin (pid 4660)
ActivityManager:                 6092 kB: com.android.location.fused (pid 803)
ActivityManager:
ActivityManager: Total PSS: 576070 kB
ActivityManager:       KSM: 0 kB saved from shared 0 kB
ActivityManager:            0 kB unshared; 0 kB volatile
ActivityManager:   PID      Vss      Rss      Pss      Uss  cmdline
ActivityManager:  8740  323440K  323420K  284598K  278148K  com.android.browser
ActivityManager:   410  143184K  143132K   98163K   86512K  system_server
ActivityManager:   869   93872K   93728K   49903K   39132K  com.android.launcher
ActivityManager:   609   82384K   82152K   44327K   39180K  com.android.systemui
ActivityManager:   734   67200K   67164K   30846K   26772K  com.android.musicfx
ActivityManager:   140   21540K   21540K   19061K   18076K  /system/bin/mediaserver
ActivityManager:  4660   50672K   50636K   15939K   11916K  com.android.inputmethod.pinyin
ActivityManager:   691   43760K   43700K   10177K    6436K  com.android.phone
ActivityManager:   136   42320K   42228K    6716K    1992K  zygote
ActivityManager:   803   37384K   37320K    6435K    3252K  com.android.location.fused
ActivityManager:   701   37232K   37156K    6379K    3196K  com.intel.security.service
ActivityManager:   850   37092K   37028K    6330K    3156K  com.android.smspush
ActivityManager:   134    1988K    1988K    1362K    1300K  /system/bin/netd
ActivityManager:  9602    1300K    1296K     950K     936K  procrank
ActivityManager:  3565    1548K    1544K     923K     884K  /system/bin/wpa_supplicant
ActivityManager:   139    1792K    1792K     910K     820K  /system/bin/drmserver
ActivityManager:   307    1200K    1200K     783K     760K  /system/bin/logcat
ActivityManager:   304     864K     864K     517K     504K  /system/bin/sdcard
ActivityManager:     1     624K     624K     434K     408K  /init
ActivityManager:   130     820K     820K     340K     308K  /system/bin/vold
ActivityManager:   138     820K     816K     323K     300K  /system/bin/keystore
ActivityManager:  7590     780K     780K     316K     288K  /system/bin/dhcpcd
ActivityManager:   309     316K     316K     289K     288K  /sbin/adbd
ActivityManager:   308     868K     868K     284K     248K  /system/bin/rild
ActivityManager:   133     696K     696K     254K     232K  /system/bin/cpdd
ActivityManager:   305     676K     676K     216K     192K  /system/bin/crashlogd
ActivityManager:   137     648K     644K     209K     188K  /system/bin/installd
ActivityManager:   102    3696K    3696K     205K     164K  /sbin/ueventd
ActivityManager:   135     480K     476K     137K     124K  /system/bin/debuggerd
ActivityManager:   129     404K     400K     119K     108K  /system/bin/servicemanager
ActivityManager:  7589     468K     464K     119K     104K  /system/bin/logwrapper
ActivityManager:   132     104K     104K     100K     100K  /ia_watchdogd
ActivityManager:   143    3708K    3708K      48K      16K  /sbin/ueventd
ActivityManager:  9323    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9283    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9203    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9268    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9244    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9224    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9217    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  4250    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  7031    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  7196    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  7588    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9036    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9059    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9583    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9071    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9574    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9093    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9538    3660K    3660K      29K      16K  /sbin/ueventd
ActivityManager:  9428    3660K    3660K      29K      16K  /sbin/ueve

[3] Kernel will kill the app in urgent situation.

KERNEL  : [22599.304106] init: handle_crda_event - execve error
KERNEL  : [22599.310428] init: handle_crda_event - execve error

KERNEL  : [22599.335959] send sigkill to 8740 (android.browser), adj 0, size 93544

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值