Android 重启求助!

xiaoyaofriend 2016-12-12 11:01:48
近日在安卓开发板使用自己开发的APK进行联网下载一些数据时发现,android系统重启,不像是断电重启,而是启动要比平常的重启要快很多,而且是从开机动画重启。看日志发现联网后了生系统异常,造成所有服务die,进而系统重启,部分LOG如下:I/libHikCamUsage( 2189): disconnect status:1
D/dalvikvm( 1725): GC_CONCURRENT freed 3210K, 11% free 113910K/127559K, paused 3ms+51ms
D/dalvikvm( 1725): GC_FOR_ALLOC freed <1K, 11% free 113910K/127559K, paused 332ms
I/dalvikvm-heap( 1725): Grow heap (frag case) to 116.373MB for 4927552-byte allocation
D/dalvikvm( 2189): GC_CONCURRENT freed 2045K, 22% free 13863K/17735K, paused 3ms+40ms
D/dalvikvm( 1725): GC_FOR_ALLOC freed 3208K, 10% free 115514K/127559K, paused 392ms
I/dalvikvm-heap( 1725): Forcing collection of SoftReferences for 4927552-byte allocation
D/dalvikvm( 1725): GC_BEFORE_OOM freed 4K, 10% free 115510K/127559K, paused 379ms
E/dalvikvm-heap( 1725): Out of memory on a 4927552-byte allocation.
I/dalvikvm( 1725): "NetworkStats" prio=5 tid=35 RUNNABLE JIT
I/dalvikvm( 1725): | group="main" sCount=0 dsCount=0 obj=0x4118e588 self=0xce00e0
I/dalvikvm( 1725): | sysTid=1767 nice=0 sched=0/0 cgrp=default handle=14677448
I/dalvikvm( 1725): | schedstat=( 0 0 0 ) utm=668 stm=212 core=0
I/dalvikvm( 1725): at java.util.Arrays.copyOfRange(Arrays.java:~2849)
I/dalvikvm( 1725): at java.util.Arrays.copyOf(Arrays.java:2578)
I/dalvikvm( 1725): at android.net.NetworkStatsHistory.insertBucket(NetworkStatsHistory.java:363)
I/dalvikvm( 1725): at android.net.NetworkStatsHistory.ensureBuckets(NetworkStatsHistory.java:349)
I/dalvikvm( 1725): at android.net.NetworkStatsHistory.recordData(NetworkStatsHistory.java:280)
I/dalvikvm( 1725): at com.android.server.net.NetworkStatsService.performNetworkXtPollLocked(NetworkStatsService.java:946)
I/dalvikvm( 1725): at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:848)
I/dalvikvm( 1725): at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:806)
I/dalvikvm( 1725): at com.android.server.net.NetworkStatsService.access$100(NetworkStatsService.java:135)
I/dalvikvm( 1725): at com.android.server.net.NetworkStatsService$8.handleMessage(NetworkStatsService.java:1648)
I/dalvikvm( 1725): at android.os.Handler.dispatchMessage(Handler.java:95)
I/dalvikvm( 1725): at android.os.Looper.loop(Looper.java:137)
I/dalvikvm( 1725): at android.os.HandlerThread.run(HandlerThread.java:60)
I/dalvikvm( 1725):
W/dalvikvm( 1725): threadid=35: thread exiting with uncaught exception (group=0x40a431f8)
E/AndroidRuntime( 1725): *** FATAL EXCEPTION IN SYSTEM PROCESS: NetworkStats
E/AndroidRuntime( 1725): java.lang.OutOfMemoryError
E/AndroidRuntime( 1725): at java.util.Arrays.copyOfRange(Arrays.java:2849)
E/AndroidRuntime( 1725): at java.util.Arrays.copyOf(Arrays.java:2578)
E/AndroidRuntime( 1725): at android.net.NetworkStatsHistory.insertBucket(NetworkStatsHistory.java:363)
E/AndroidRuntime( 1725): at android.net.NetworkStatsHistory.ensureBuckets(NetworkStatsHistory.java:349)
E/AndroidRuntime( 1725): at android.net.NetworkStatsHistory.recordData(NetworkStatsHistory.java:280)
E/AndroidRuntime( 1725): at com.android.server.net.NetworkStatsService.performNetworkXtPollLocked(NetworkStatsService.java:946)
E/AndroidRuntime( 1725): at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:848)
E/AndroidRuntime( 1725): at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:806)
E/AndroidRuntime( 1725): at com.android.server.net.NetworkStatsService.access$100(NetworkStatsService.java:135)
E/AndroidRuntime( 1725): at com.android.server.net.NetworkStatsService$8.handleMessage(NetworkStatsService.java:1648)
E/AndroidRuntime( 1725): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 1725): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1725): at android.os.HandlerThread.run(HandlerThread.java:60)
I/Process ( 1725): Sending signal. PID: 1725 SIG: 9
I/ServiceManager( 1517): service 'mount' died
I/ServiceManager( 1517): service 'notification' died
I/ServiceManager( 1517): service 'country_detector' died
I/ServiceManager( 1517): service 'network_management' died
I/ServiceManager( 1517): service 'textservices' died
I/ServiceM[ 148.716352] alarm_release: clear alarm, pending 0
anager( 1517): service 'permission' died
I/ServiceManager( 1517): ser[ 148.726451] alarm_release: clear alarm, pending 0
...全文
483 点赞 收藏 3
写回复
3 条回复
楼主这个问题解决了吗?我也遇到了
回复 点赞
xiaoyaofriend 2016年12月16日
是什么造成了空间耗尽呢?
回复 点赞
弦月春秋 2016年12月14日
初步看,是空间耗尽!
回复 点赞
发动态
发帖子
驱动开发/核心开发
创建于2007-09-28

9168

社区成员

2.1w+

社区内容

硬件/嵌入开发 驱动开发/核心开发
社区公告
暂无公告