2016年11月30日 星期三

ANR Example


11-20 17:13:50.988: E/ActivityManager(920): Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events Thread leak were delivered to it over 500.0ms ago.  Wait queue length: 6.  Wait queue head age: 70041.6ms.)
11-20 17:13:50.988: E/ActivityManager(920): Load: 11.95 / 12.85 / 13.07
11-20 17:13:50.988: E/ActivityManager(920): CPU usage from 0ms to 8178ms later:
11-20 17:13:50.988: E/ActivityManager(920):   53% 920/system_server: 18% user + 35% kernel / faults: 15673 minor 323 major


=> UI Thread超過5秒沒響應導致ANR了, Memory leak導致crash

沒有留言:

張貼留言