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

fix: add autoreleasepool around sendNextEventFile #232

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

crleona
Copy link
Collaborator

@crleona crleona commented Oct 1, 2024

Summary

We're seeing memory growth consistent with delayed gc (a sawtooth pattern) from recent changes to how we upload files. Adding a release pool around the code fixes this memory growth.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

@crleona crleona requested a review from a team October 1, 2024 20:25
@crleona crleona mentioned this pull request Oct 1, 2024
@crleona crleona merged commit 0ec1187 into main Oct 1, 2024
8 checks passed
@crleona crleona deleted the AMP-111097-fix-leak branch October 1, 2024 20:57
github-actions bot pushed a commit that referenced this pull request Oct 1, 2024
## [1.9.3](v1.9.2...v1.9.3) (2024-10-01)

### Bug Fixes

* add autoreleasepool around sendNextEventFile ([#232](#232)) ([0ec1187](0ec1187))
* improve logging in httpclient ([#228](#228)) ([633deb5](633deb5))
* Use extension safe APIs ([#231](#231)) ([4794f4e](4794f4e))
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

Successfully merging this pull request may close these issues.

2 participants