Out of Memory in NSMutableAttributedString+MutableAttributedStringHook.m
Micheal-Long opened this issue · 5 comments
Micheal-Long commented
您好,我们在使用JJException时,最近收到大量Out of Memory的崩溃信息,定位到NSMutableAttributedString+MutableAttributedStringHook.m文件中的113行:[self hookReplaceCharactersInRange:range withString:str];
使用的版本是0.2.12版本
jezzmemo commented
为什么确定是这个地方导致的呢?
Micheal-Long commented
jezzmemo commented
这个地方我检查过了,逻辑很简单,检查边界点,然后调用origin方法,仔细检查你最近的变化点,有可能是其他地方触发了OOM
Micheal-Long commented
好的,谢谢