Tencent / OOMDetector

OOMDetector is a memory monitoring component for iOS which provides you with OOM monitoring, memory allocation monitoring, memory leak detection and other functions.
Other
2.32k stars 355 forks source link

求问😓 堆栈翻译:translate_oom.py dsym_file oom_file #14

Open ShenJieSuzhou opened 6 years ago

ShenJieSuzhou commented 6 years ago

终端打印如下日志: Begin Translation...... APP Name:OOMDetector begin translate stack:... pre_begin:63 begin:99

pre_begin:63 begin:99

atos success! stack_cnt:1 end translate stack:... end Translation...... 看了下脚本,是不是翻译完后的脚本后缀是translated.log; 但是我这边没有生成,请问是什么原因。

xiaocai33 commented 6 years ago

求问用了脚本 内存泄漏的堆栈解析出来的是个空文件, 因此这个对日志文件格式有什么限制吗?

ShenJieSuzhou commented 6 years ago

找到问题了, “file_name = os.path.basename(leak_path);” 文件不是一个路径,而是一个文件名,改成 file_name = leak_path,就可以解析出来了

TaoistKing commented 6 years ago

@ShenJieSuzhou 我这边解析出来仍然是空文件。

YangyangChen111 commented 6 years ago

内存泄漏的堆栈解析后为空文件+1

HePingLaoSan commented 5 years ago
image

这是我的解析前的日志,猜测写日志丢数据了,导致解析是0K,仓库版本是1.3

yaolove3 commented 4 years ago

内存泄漏的堆栈解析后为空文件+1

内存泄漏的堆栈解析后为空文件+1