-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fix memory consumption bug #702
Conversation
Source/ARTLog.m
Outdated
@@ -109,7 +109,7 @@ - (instancetype)init { | |||
} | |||
|
|||
- (instancetype)initCapturingOutput:(BOOL)capturing { | |||
return [self initCapturingOutput:true historyLines:100]; | |||
return [self initCapturingOutput:true historyLines:50]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The history is sent to Sentry when an exception occurs. I think 50 is too low. 100 lines would give us more elements to diagnose an issue. Does this change improve significantly the performance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will measure and let you know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good but I leaved a small comment.
Tests aren't passing: |
@ricardopereira I did some profiling. |
647791b
to
02c022f
Compare
@funkyboy Ok, thanks for checking! |
Fix #691