-
Notifications
You must be signed in to change notification settings - Fork 130
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
Loadconfig memory leak #1536
Comments
Hi Eric, Thanks for reaching out, and apologies for the delay in replying. We have investigated this internally, and while we have been able to reproduce the memory leak you have reported, we have not been able to isolate whether BugSnag is the cause of this memory leak. Essentially, while testing we have found that Xcode Instruments is saying non-instantiated items are being leaked, with this also occurring when BugSnag is not doing anything at all. This suggests to us that these memory leaks may be getting mis-reported by the Xcode instruments tool. We would like to continue investigating this and would be interested to know if you use |
Hello Matthew, I work with Eric and will take over this issue. I confirm we use the |
Hi @iMac0de, we have just released a new version bugsnag-cocoa v6.27.0 which should remove the need to generate a URLSession when copying a configuration. In the process we have also discovered an additional issue which ultimately is due to a leak in Apple's code. I would suggest to upgrade to v6.27.0 when convenient and let us know how you get on, as it should hopefully improve it for you. |
Describe the bug
a configuration load is enough to have a memory leak.
Steps to reproduce
BugsnagConfiguration.loadConfig()
Environment
The text was updated successfully, but these errors were encountered: