07-22 16:20:53.984 28421-28421/com.marktony.zhihudaily I/hwaps: JNI_OnLoad 07-22 16:20:54.078 28421-28505/com.marktony.zhihudaily E/OpenGLRenderer: allen debug liyu Key: 34359738369 07-22 16:20:54.595 28421-28426/com.marktony.zhihudaily I/art: Do partial code cache collection, code=116KB, data=123KB 07-22 16:20:54.595 28421-28426/com.marktony.zhihudaily I/art: After code cache collection, code=116KB, data=123KB 07-22 16:20:54.595 28421-28426/com.marktony.zhihudaily I/art: Increasing code cache capacity to 512KB 07-22 16:20:56.254 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 83933(4MB) AllocSpace objects, 15(336KB) LOS objects, 11% free, 18MB/20MB, paused 6.060ms total 48.302ms 07-22 16:20:56.273 28421-28426/com.marktony.zhihudaily I/art: Do full code cache collection, code=251KB, data=235KB 07-22 16:20:56.274 28421-28426/com.marktony.zhihudaily I/art: After code cache collection, code=247KB, data=207KB 07-22 16:20:57.055 28421-28433/com.marktony.zhihudaily W/art: Suspending all threads took: 9.551ms 07-22 16:20:57.083 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 71422(3MB) AllocSpace objects, 14(316KB) LOS objects, 8% free, 19MB/20MB, paused 12.222ms total 61.689ms 07-22 16:20:58.027 28421-28426/com.marktony.zhihudaily I/art: Do partial code cache collection, code=250KB, data=224KB 07-22 16:20:58.028 28421-28426/com.marktony.zhihudaily I/art: After code cache collection, code=250KB, data=224KB 07-22 16:20:58.028 28421-28426/com.marktony.zhihudaily I/art: Increasing code cache capacity to 1024KB 07-22 16:20:58.961 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 179229(9MB) AllocSpace objects, 25(532KB) LOS objects, 28% free, 22MB/31MB, paused 6.234ms total 87.715ms 07-22 16:21:15.805 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 160600(8MB) AllocSpace objects, 26(552KB) LOS objects, 20% free, 25MB/31MB, paused 5.757ms total 87.532ms 07-22 16:21:16.647 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 143880(7MB) AllocSpace objects, 26(564KB) LOS objects, 19% free, 25MB/31MB, paused 5.682ms total 77.998ms 07-22 16:21:45.247 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 103045(5MB) AllocSpace objects, 15(332KB) LOS objects, 11% free, 28MB/31MB, paused 7.827ms total 111.639ms 07-22 16:21:45.383 28421-28433/com.marktony.zhihudaily I/art: Background partial concurrent mark sweep GC freed 172979(9MB) AllocSpace objects, 74(2MB) LOS objects, 39% free, 24MB/40MB, paused 5.064ms total 89.924ms 07-22 16:21:47.402 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 249742(13MB) AllocSpace objects, 44(968KB) LOS objects, 20% free, 32MB/40MB, paused 9.247ms total 111.303ms 07-22 16:21:49.007 28421-28433/com.marktony.zhihudaily I/art: Background sticky concurrent mark sweep GC freed 119113(6MB) AllocSpace objects, 12(264KB) LOS objects, 31% free, 27MB/40MB, paused 11.915ms total 83.741ms 07-22 16:21:49.403 28421-28433/com.marktony.zhihudaily I/art: Background partial concurrent mark sweep GC freed 239156(14MB) AllocSpace objects, 115(3MB) LOS objects, 37% free, 27MB/43MB, paused 5.015ms total 114.790ms 07-22 16:21:50.339 28421-28421/com.marktony.zhihudaily W/libc: pthread_create failed: clone failed: Out of memory 07-22 16:21:50.340 28421-28421/com.marktony.zhihudaily W/art: Throwing OutOfMemoryError "pthread_create (1040KB stack) failed: Out of memory" --------- beginning of crash 07-22 16:21:50.340 28421-28421/com.marktony.zhihudaily E/AndroidRuntime: FATAL EXCEPTION: main Process: com.marktony.zhihudaily, PID: 28421 java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Out of memory at java.lang.Thread.nativeCreate(Native Method) at java.lang.Thread.start(Thread.java:745) at com.marktony.zhihudaily.service.CacheService.cacheZhihuDailyContent(CacheService.java:191) at com.marktony.zhihudaily.service.CacheService.access$000(CacheService.java:56) at com.marktony.zhihudaily.service.CacheService$LocalReceiver.onReceive(CacheService.java:143) at android.support.v4.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:308) at android.support.v4.content.LocalBroadcastManager.access$000(LocalBroadcastManager.java:46) at android.support.v4.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:118) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6523) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831) 07-22 16:21:50.364 28421-28421/com.marktony.zhihudaily I/Process: Sending signal. PID: 28421 SIG: 9