Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

malloc: Attempted to register zone more than once #29

Open
stormwyl opened this issue Jan 3, 2019 · 0 comments
Open

malloc: Attempted to register zone more than once #29

stormwyl opened this issue Jan 3, 2019 · 0 comments

Comments

@stormwyl
Copy link

stormwyl commented Jan 3, 2019

初始化的代码:
OOMDetector *detector = [OOMDetector getInstance];
[detector setupWithDefaultConfig];
检测内存代码:
[[OOMDetector getInstance] executeLeakCheck:^(NSString *leakStack, size_t total_num){
self.textView.text = leakStack;
}];
第一次调用检测代码能够检测出内存泄漏
default
第二次再调用
2019-01-03 10 04 41
这里报 malloc: Attempted to register zone more than once: 0x16fd65bd8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant