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

[Azure Core] Memory leak on netty-buffer #30666

Closed
mssfang opened this issue Aug 26, 2022 · 1 comment · Fixed by #30670
Closed

[Azure Core] Memory leak on netty-buffer #30666

mssfang opened this issue Aug 26, 2022 · 1 comment · Fixed by #30670
Labels
Azure.Core azure-core

Comments

@mssfang
Copy link
Member

mssfang commented Aug 26, 2022

There could be a memory leak on netty-buffer.

More detail report from a customer's reported issue reference:
https://stackoverflow.com/questions/73500609/memory-leak-issue-of-the-object-io-netty-buffer-pooledbytebufallocator-from-jar

Local run stats:
com.azure.core.http.netty.NettyAsyncHttpClientTests
Aug 26, 2022 9:44:13 AM io.netty.util.ResourceLeakDetector reportTracedLeak
SEVERE: LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information.

@alzimmermsft
Copy link
Member

alzimmermsft commented Sep 1, 2022

Fix PR resolves tests that report ByteBuf leaks, further investigation is on-going to determine whether the test leak and mentioned StackOverflow have the same root issue.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Core azure-core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants