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

Reduce the transient creation of the event hub producer #1361

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

unaizorrilla
Copy link
Collaborator

** Fix leak on producer creation **

After some investigations, I notice that the event hub health check can leak some memory ( consistently ) due to creation of the event hub producer clients, after check the code these are transient but these also create unamanaged resources and not disposes resources produce the leak...

This bug is related with the issue Azure/azure-sdk-for-net#30119 (comment)

@carlosrecuero carlosrecuero merged commit 87a5c42 into master Jul 27, 2022
@carlosrecuero carlosrecuero deleted the fix/event-hub-producer-creations branch July 27, 2022 08:05
@unaizorrilla unaizorrilla self-assigned this Jul 27, 2022
@sungam3r sungam3r mentioned this pull request Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants