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

简介: 加载超大效果图导致内存不足(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.


加载超大效果图导致内存不足(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 




相关文章
|
6月前
|
Python
“RuntimeError: main thread is not in main loop“的几种解决方案
“RuntimeError: main thread is not in main loop“的几种解决方案
|
JavaScript 编译器
模块 &quot;&quot;element-plus&quot;&quot; 没有导出的成员 &quot;ElMessage&quot;。你是想改用 &quot;import ElMessage from &quot;element-plus&quot;&quot; 吗?
模块 &quot;&quot;element-plus&quot;&quot; 没有导出的成员 &quot;ElMessage&quot;。你是想改用 &quot;import ElMessage from &quot;element-plus&quot;&quot; 吗?
382 0
|
Oracle Java 关系型数据库
对Atmosphere中AtmosphereResourceImpl &quot;Exception during suspend() operation&quot;问题的追踪
在Atmosphere通信正常的情况下关闭浏览器,有时候会看到log出现一行Exception during suspend() operation的错误,虽然LOG是WARN的等级感觉应该不会有什么问题,但总觉得觉得应该有什么地方出了问题,为什么具体的错误行数被隐藏起来?
92 0
|
自然语言处理
合同结构化文书解析失败,请联系管理员排查:{&quot;code&quot;:3001,&quot;message&quot;:&quot;File transform error&quot;,&quot;success&quot;:false,&quot;tracerId&quot;:&quot;requestId&quot;}报错处理
在使用自然语言处理自学习平台时,标注任务需要上传标注数据,但是使用doc格式上传文件后开始标注时出现了此提示,此篇文章简单介绍下此问题的处理方式。
730 0
合同结构化文书解析失败,请联系管理员排查:{&quot;code&quot;:3001,&quot;message&quot;:&quot;File transform error&quot;,&quot;success&quot;:false,&quot;tracerId&quot;:&quot;requestId&quot;}报错处理
解决办法:error LNK2005: &quot;void * __cdecl operator new(unsigned int)&quot; 已经在 LIBCMTD.lib(new.obj) 中定义
解决办法:error LNK2005: &quot;void * __cdecl operator new(unsigned int)&quot; 已经在 LIBCMTD.lib(new.obj) 中定义
217 0
|
C++
一起谈.NET技术,编写T4模板无法避免的两个话题:&quot;Assembly Locking&quot;&amp;&quot;Debug&quot;
  在这之前,我写了一系列关于代码生成和T4相关的文章,而我现在也试图将T4引入我们自己的开发框架。在实践中遇到了一些问题,也解决了不少问题。如果你也在进行T4相关的开发,相信你也一定会遇到这些问题。为此,特意将这些问题和解决方案与朋友们分享,希望在遇到这些问题的时候少走弯路。
1078 0
|
缓存
Integer.parseInt(&quot;&quot;) Integer.valueOf(&quot;&quot;)和new Integer(&quot;&quot;)之间的区别
把一个String转换成int有Integer.parseInt("")、 Integer.valueOf("")和new Integer("")这么几种方式,它们之间有什么区别呢?我们可以分别看一下它们的源码 //Integer.parseInt("") public static int parseInt(String s) throws NumberFormatExc
1555 0