Skip to content

Commit 1ce9567

Browse files
author
rosenluo
committed
close QQLeak defualt in demo
1 parent aab6d71 commit 1ce9567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Demo/OOMDetectorDemo/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ - (void)setupOOMDetector
126126
}];
127127

128128
// 开启内存泄漏监控,目前只可检测真机运行时的内存泄漏,模拟器暂不支持,这个功能占用的内存较大,建议只在测试阶段使用
129-
[detector setupLeakChecker];
129+
// [detector setupLeakChecker];
130130

131131
// 开启MallocStackMonitor用以监控通过malloc方式分配的内存,会增加8%左右的cpu开销和10Mb内存,所以建议抽样开启
132132
[detector startMallocStackMonitor:30 * 1024 * 1024 logUUID:[[FOOMMonitor getInstance] getLogUUID]];

0 commit comments

Comments
 (0)