Comments (5)
这个问题在一些大型app里会频繁出现
debug 下会 assert 掉 正式包泄漏
具体的 @hello-david 会跟进了
from mthawkeye.
上面描述信息是报告了一个NSInternalInconsistencyException异常,导致这个问题的原因是记录长度太长导致的。在MTHawkeyeStorage模块有这段逻辑#ifdef DEBUG NSAssert(lineLength < 16 * 1024, @"line lenght should less than 16KB"); #endif
,测试流程建议看一下TimeConsumingDemoTableViewController这个Demo中的卡顿/卡死模拟。
from mthawkeye.
目前记录anr堆栈时,直接使用了 appenderfile 来记录,但 appenderfile 限制了最长的单条记录长度。
可以看下具体触发的实例,对比下现实中遇到的概率,如果有一定概率重现,可考虑将单条记录以一定的方式拆成多行存储,同时调整对应的读取逻辑
from mthawkeye.
谢谢回复
from mthawkeye.
MTHANRHawkeyeAdaptor部分新增ANR消息大于16kb情况处理,在Debug模式下不会触发相应的断言
from mthawkeye.
Related Issues (20)
- 真机崩 HOT 4
- 需要指定依赖 CocoaLumberjack 的版本 HOT 1
- FLEX版本依赖升级为4.0.0,uiwebview改为了wkwebview
- 动态库问题 HOT 1
- 项目中使用的AFNetworking的网络库,没有hook到项目中的任何请求 HOT 2
- Ability to use MTHawkeye on jailbroken phones without app modifications HOT 1
- 调用栈回溯问题 HOT 4
- FBRetainCycleDetector array has incomplete element type struct rec_rebinding
- MTHNetworkObserver类ReceiveData里面appendData的时候,会报NSMallocException内存错误 HOT 3
- 0.12.2 找不到,还没推么? HOT 1
- 'FLEX/FLEXImagePreviewViewController.h' file not found HOT 3
- 开启 Allocation 之后启动就崩 HOT 1
- 崩溃:-[NSURLResponse statusCode]: unrecognized selector sent to instance HOT 1
- Swift方法调用的耗时监测
- 在不使用cocoapods的前提下,如何集成MTHawkeye? HOT 2
- Where is release? HOT 2
- 内存监控使用__syscall_logger是否 能够审核通过
- 开启大块内存监控有问题啊,开启不了啊
- 大块内存阈值设置成 0 ,界面会卡死
- 0.12.8卡主线程
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mthawkeye.