本文共 1267 字,大约阅读时间需要 4 分钟。
系统卡顿优化往往会触发lowmemorykiller,查看应用是否被lowmemorykiller的日志,一般需要查询对应包名对应的pid
例如 com.su.download pid 是16826,目前pid一般可以在event日志查看到
13,845: <7>[ 404.507273] -(6)[97:kswapd0][signal][97:kswapd0]send death sig 9 to[16826:redstone.ota.ui:R] 13,846: <6>[ 404.507319] (6)[97:kswapd0]lowmemorykiller: Killing 'redstone.ota.ui' (16826), adj 904, state(0)
76,496: 06-14 18:56:32.305074 1005 1023 I zygote64: Successfully killed process cgroup uid 1000 pid 16826 in 0ms
4,202: 06-14 18:56:32.303401 1005 1404 I am_proc_died: [0,16826,com.su.download,904,11]
06-14 18:56:32.293532 1005 6176 I WindowManager: WIN DEATH: Window{e5030bc u0 com.su.download/com.su.download.activity.RsMainActivity}06-14 18:56:32.303128 1005 1404 I ActivityManager: Process com.su.download (pid 16826) has died: cch+4SVC 06-14 18:56:32.303719 1005 1404 W ActivityManager: Scheduling restart of crashed service com.su.download/com.globe.android.stats.agent.AgentService in 16262ms06-14 18:56:32.303882 1005 1404 W ActivityManager: Scheduling restart of crashed service com.su.download/com.android.meteor.agent.library.AgentService in 26262ms
转载地址:http://agcti.baihongyu.com/