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

metrics memory leak because of circular reference #1534

Closed
esigo opened this issue Jul 31, 2022 · 0 comments · Fixed by #1535
Closed

metrics memory leak because of circular reference #1534

esigo opened this issue Jul 31, 2022 · 0 comments · Fixed by #1535
Assignees
Labels
bug Something isn't working

Comments

@esigo
Copy link
Member

esigo commented Jul 31, 2022

There is circular reference between meter and context:
https://github.com/open-telemetry/opentelemetry-cpp/runs/7600470707?check_suite_focus=true#step:5:806
This causes a memory leak.

@esigo esigo added the bug Something isn't working label Jul 31, 2022
@esigo esigo self-assigned this Jul 31, 2022
@lalitb lalitb added this to the Metrics SDK - Release Candidate milestone Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants