码迷,mamicode.com
首页 > 其他好文 > 详细

【BUG】"main" prio=5 tid=1 RUNNABLE

时间:2014-12-20 12:55:28      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:


载入超大效果图导致内存不足(GC/ANR)


06-30 11:42:56.624: D/dalvikvm(16264): GC_CONCURRENT freed 1982K, 7% free 45372K/48775K, paused 1ms+3ms, total 50ms

06-30 11:42:57.469: D/DeviceTrackActivity(16264): onPause()

06-30 11:42:57.994: D/dalvikvm(16264): GC_CONCURRENT freed 1965K, 7% free 45380K/48775K, paused 8ms+13ms, total 92ms

06-30 11:42:59.194: D/dalvikvm(16264): GC_CONCURRENT freed 1893K, 7% free 45465K/48775K, paused 1ms+14ms, total 53ms

06-30 11:43:00.229: D/dalvikvm(16264): GC_FOR_ALLOC freed 190K, 7% free 45430K/48775K, paused 60ms, total 60ms

06-30 11:43:00.244: I/dalvikvm-heap(16264): Grow heap (frag case) to 53.290MB for 8294416-byte allocation

06-30 11:43:00.299: D/dalvikvm(16264): GC_CONCURRENT freed <1K, 6% free 53530K/56903K, paused 12ms+4ms, total 54ms

06-30 11:43:00.414: D/dalvikvm(16264): GC_FOR_ALLOC freed 0K, 6% free 53530K/56903K, paused 38ms, total 38ms

06-30 11:43:00.414: I/dalvikvm-heap(16264): Forcing collection of SoftReferences for 33177616-byte allocation

06-30 11:43:00.454: D/dalvikvm(16264): GC_BEFORE_OOM freed 11K, 6% free 53518K/56903K, paused 41ms, total 41ms

06-30 11:43:00.454: E/dalvikvm-heap(16264):Out of memory on a 33177616-byte allocation.

06-30 11:43:00.454: I/dalvikvm(16264):"main" prio=5 tid=1 RUNNABLE

06-30 11:43:00.454: I/dalvikvm(16264):   | group="main" sCount=0 dsCount=0obj=0x41cfc508 self=0x41cec9a8

06-30 11:43:00.454: I/dalvikvm(16264):   | sysTid=16264 nice=0sched=0/0 cgrp=apps handle=1074929456

06-30 11:43:00.454: I/dalvikvm(16264):   |schedstat=( 6084304503 1363714027 10607 ) utm=524 stm=84 core=3

06-30 11:43:00.454: I/dalvikvm(16264):   at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)

06-30 11:43:00.459: I/dalvikvm(16264):   at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)

06-30 11:43:00.459: I/dalvikvm(16264):   at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:476)

06-30 11:43:00.459: I/dalvikvm(16264):   at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:781)

06-30 11:43:00.459: I/dalvikvm(16264):   at android.content.res.Resources$Injector.createFromResourceStream(Resources.java:83)

06-30 11:43:00.459: I/dalvikvm(16264):   at android.content.res.Resources.loadDrawable(Resources.java:1963)

06-30 11:43:00.459: I/dalvikvm(16264):   at android.content.res.MiuiResources.loadDrawable(MiuiResources.java:317)

06-30 11:43:00.459: I/dalvikvm(16264):   atandroid.content.res.TypedArray.getDrawable(TypedArray.java:601)

06-30 11:43:00.464: I/dalvikvm(16264):   at android.view.View.<init>(View.java:3436)

06-30 11:43:00.464: I/dalvikvm(16264):   at android.view.View.<init>(View.java:3371)

06-30 11:43:00.464: I/dalvikvm(16264):   at android.view.ViewGroup.<init>(ViewGroup.java:426)

06-30 11:43:00.469: I/dalvikvm(16264):   at android.widget.RelativeLayout.<init>(RelativeLayout.java:184)

06-30 11:43:00.469: I/dalvikvm(16264):   at java.lang.reflect.Constructor.constructNative(Native Method)

06-30 11:43:00.469: I/dalvikvm(16264):   at java.lang.reflect.Constructor.newInstance(Constructor.java:417)

06-30 11:43:00.469: I/dalvikvm(16264):   at android.view.LayoutInflater.createView(LayoutInflater.java:587)

06-30 11:43:00.479: I/dalvikvm(16264):   at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)

06-30 11:43:00.479: I/dalvikvm(16264):   at com.android.internal.policy.impl.MiuiPhoneLayoutInflater.onCreateView(MiuiPhoneLayoutInflater.java:44)

06-30 11:43:00.479: I/dalvikvm(16264):   at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)

06-30 11:43:00.479: I/dalvikvm(16264):   at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)

06-30 11:43:00.479: I/dalvikvm(16264):   at android.view.LayoutInflater.inflate(LayoutInflater.java:466)

06-30 11:43:00.479: I/dalvikvm(16264):   at android.view.LayoutInflater.inflate(LayoutInflater.java:396)

06-30 11:43:00.479: I/dalvikvm(16264):   at android.view.LayoutInflater.inflate(LayoutInflater.java:352)

06-30 11:43:00.479: I/dalvikvm(16264):   at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:306)

06-30 11:43:00.479: I/dalvikvm(16264):   at android.app.Activity.setContentView(Activity.java:1916)

06-30 11:43:00.484: I/dalvikvm(16264):   at com.jason.safeGod.activities.DeviceLocationHistoryActivity.onCreate(DeviceLocationHistoryActivity.java:13)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.app.Activity.performCreate(Activity.java:5184)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1083)

06-30 11:43:00.484: I/dalvikvm(16264):   at com.lbe.security.service.core.client.b.x.callActivityOnCreate((null):-1)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2064)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.app.ActivityThread.access$600(ActivityThread.java:140)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.os.Handler.dispatchMessage(Handler.java:99)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.os.Looper.loop(Looper.java:137)

06-30 11:43:00.484: I/dalvikvm(16264):   at android.app.ActivityThread.main(ActivityThread.java:4898)

06-30 11:43:00.484: I/dalvikvm(16264):   at java.lang.reflect.Method.invokeNative(Native Method)

06-30 11:43:00.484: I/dalvikvm(16264):   at java.lang.reflect.Method.invoke(Method.java:511)

06-30 11:43:00.484: I/dalvikvm(16264):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)

06-30 11:43:00.484: I/dalvikvm(16264):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)

06-30 11:43:00.484: I/dalvikvm(16264):   at dalvik.system.NativeStart.main(Native Method)

06-30 11:43:00.489: A/libc(16264):Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 16264 (m.jason.safeGod)

06-30 11:43:09.629: E/Trace(18771): error opening trace file: No such file or directory (2)

06-30 11:43:09.714: D/dalvikvm(18771): GC_CONCURRENT freed 260K, 14% free 8542K/9863K, paused 12ms+2ms, total 28ms

06-30 11:43:09.794: D/dalvikvm(18771): Trying to loadlib /data/data/com.jason.safeGod/lib/libBaiduMapSDK_v2_3_1.so 0x4263c6c0

06-30 11:43:09.804: D/dalvikvm(18771): Added sharedlib /data/data/com.jason.safeGod/lib/libBaiduMapSDK_v2_3_1.so 0x4263c6c0

06-30 11:43:09.879: D/AppCommonMemCache(18771):commonmemcache addr: 1518053684

06-30 11:43:09.949: I/auth info(18771):ak:  SML2xfotwkZDfKPmUjPdFfev

06-30 11:43:09.949: I/auth info(18771):mcode:  3E:45:98:88:5F:74:4A:B0:FC:3A:4B:B0:2A:96:11:A2:72:DC:AC:D2;com.jason.safeGod

06-30 11:43:09.954: D/DemoApplication(18771): SecretCode = 51354085498451404191524157594581418255

06-30 11:43:10.004: D/dalvikvm(18771): GC_CONCURRENT freed 305K, 14% free 8666K/10055K, paused 3ms+2ms, total 22ms

06-30 11:43:10.004: D/dalvikvm(18771): WAIT_FOR_CONCURRENT_GC blocked 9ms

06-30 11:43:10.029: D/dalvikvm(18771): GC_FOR_ALLOC freed 1K, 14% free 8665K/10055K, paused 23ms, total 23ms

06-30 11:43:10.034: I/dalvikvm-heap(18771): Grow heap (frag case) to 12.249MB for 2908176-byte allocation

06-30 11:43:10.049: D/dalvikvm(18771): GC_FOR_ALLOC freed 9K, 12% free 11495K/12935K, paused 13ms, total 13ms

06-30 11:43:10.064: D/dalvikvm(18771): GC_CONCURRENT freed 50K, 12% free 11500K/12935K, paused 2ms+2ms, total 17ms

06-30 11:43:10.184: D/dalvikvm(18771): GC_FOR_ALLOC freed 105K, 11% free 12113K/13511K, paused 10ms, total 10ms

06-30 11:43:10.219: D/dalvikvm(18771): GC_FOR_ALLOC freed 168K, 11% free 12338K/13767K, paused 10ms, total 10ms

06-30 11:43:10.219: I/dalvikvm-heap(18771): Grow heap (frag case) to 15.535MB for 2592016-byte allocation

06-30 11:43:10.244: D/dalvikvm(18771): GC_CONCURRENT freed 1K, 9% free 14868K/16327K, paused 11ms+1ms, total 21ms

06-30 11:43:10.309: D/dalvikvm(18771): GC_FOR_ALLOC freed 2532K, 23% free 13868K/17927K, paused 12ms, total 12ms

06-30 11:43:10.354: D/dalvikvm(18771): GC_CONCURRENT freed 1403K, 21% free 14248K/17927K, paused 1ms+12ms, total 23ms

06-30 11:43:10.354: D/AbsListView(18771): Get MotionRecognitionManager


浅谈ANR怎样分析解决ANR 




【BUG】&quot;main&quot; prio=5 tid=1 RUNNABLE

标签:

原文地址:http://www.cnblogs.com/gcczhongduan/p/4175250.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!