Open ShenJieSuzhou opened 6 years ago
求问用了脚本 内存泄漏的堆栈解析出来的是个空文件, 因此这个对日志文件格式有什么限制吗?
找到问题了, “file_name = os.path.basename(leak_path);” 文件不是一个路径,而是一个文件名,改成 file_name = leak_path,就可以解析出来了
@ShenJieSuzhou 我这边解析出来仍然是空文件。
内存泄漏的堆栈解析后为空文件+1
这是我的解析前的日志,猜测写日志丢数据了,导致解析是0K,仓库版本是1.3
内存泄漏的堆栈解析后为空文件+1
内存泄漏的堆栈解析后为空文件+1
终端打印如下日志: 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; 但是我这边没有生成,请问是什么原因。