-
Notifications
You must be signed in to change notification settings - Fork 905
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
Netty instrumentation causes memory leak and more #2705
Labels
bug
Something isn't working
Comments
Hi, can I get some sort of an ETA when this will be released? |
We plan to release new version of the agent during the next several days. |
Oh, the fix is there, but the note does not say anything about memleak explicitly:
|
thanks @mateuszrzeszutek |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
io.netty.channel.ChannelFuture#addListener()
is transformed to wrap the input listener with a helper class.However the
removeListener()
removeListeners()
counterparts are never transformed. Once a listener is added to the future, it can never be removed. This may cause memory leak and even logical incorrectness.Steps to reproduce
What did you expect to see?
channel closed
should never be printed since listeners are removed before the future completes.What did you see instead?
channel closed
is printed 100 times.What version are you using?
v1.0.1
Environment
Compiler: AdoptOpenJDK 11.0.10
OS: Microsoft Windows 10
Additional context
N/A
The text was updated successfully, but these errors were encountered: