【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.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】"main" prio=5 tid=1 RUNNABLE,布布扣,bubuko.com

时间: 2024-12-20 03:24:06

【BUG】"main" prio=5 tid=1 RUNNABLE的相关文章

【BUG】&amp;quot;main&amp;quot; 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.469: D/DeviceTrackActivity(16264): onPause() 06-30 11:42:57.994: D/dalvikvm(16264): GC_CONCURRENT

【BUG】[ - ddms] Can&#39;t bind to local 8700 for debugger

[2014-06-26 15:50:56 - ddms] Can't bind to local 8700 for debugger 一.BUG环境:macbookpro+eclipse+adt+adbWireless(MBP共享网络给Android手机) 二.影响:在下图中LogCat和Console标签页之间来回跳转,无法安逸查看LOG数据. 三.解决: 1,修改hosts文件: Last login: Thu Jun 26 15:49:50 on ttys001 jasondeabroad

【Bug】httpClient使用代理后线程挂起

背景: 需要去监控某个网站,所以写了一个爬虫程序,被爬取的链接是Https,使得的是网上的代理,按ip使用量计费,该计费模式确实好用! 框架:httpClient 4.5.10 Java: Java 9 implementation 'org.apache.httpcomponents:httpclient:4.5.10' 问题: 然后问题出现了,因为是一个监控程序,所以需要不断的轮询,然后开了10个左右线程轮询,结果跑了半小时后,10个线程全部刮起,thread dump一下发现每个线程都如下

【bug】vue-cli 3.0报错的解决办法

先上bug图片 bug说明:初装vue_cli3.0写了个组件,运行错误,显示如图, 代码提示:[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build 思路:这里引用的是

【BUG】android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi/toolbar_line.png from

SafeGod在coolpad(4.0)上执行.登陆进去的设备列表界面遇到的问题.三星和索尼没有这个问题. 06-24 15:23:06.897: E/AndroidRuntime(12655): FATAL EXCEPTION: main 06-24 15:23:06.897: E/AndroidRuntime(12655): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jason.safeGod

【BUG】Kewastunpackstats(): Bad Magic 1 (0x。。。。, 0)

Kewastunpackstats(): Bad Magic 1 (0x1108f7b87, 0) In Alert Logfile After Upgrading to 11.2.0.1 Applies to: Oracle Server - Enterprise Edition - Version: 9.2.0.8 and later [Release: 9.2 and later ] Information in this document applies to any platform.

【操作系统】main.cpp

/************************************************************************/ /* 功能: 模拟实现可变分区存储管理的最佳适应算法的链表类定义实现 时间:2014年9月1日9:25:17 作者:信管1201 1205020116 肖锋 */ /************************************************************************/ #include "Link.h&q

【bug】Could not find method compile() 解决

集成第三方库出现 Error:Could not find method compile() for arguments [com.android.support:design:23.4.0] on DefaultExternalModuleDependency{group='com.android.support', name='appcompat-v7', version='23.4.0', configuration='default'} of type org.gradle.api.in

【BUG】插入或者更新超过限制后写入数据库失败

Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Usage: mysqldump [OPTIONS] database [tables]   OR mysqldump [OPTIONS] --databa' at line 1 报错: Er