-
Notifications
You must be signed in to change notification settings - Fork 41k
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
Leak due to ByteBuffer not being released before garbage collection #36475
Comments
Thanks for the sample. FWIW, it took almost 6 minutes for the problem to occur on my machine (an Intel Mac running macOS 13.4.1 (c)) using Java 17.0.5. The complete error was the following:
I agree that this seems like a Reactor problem, particularly as you have identified that it's caused in some way by the reduce operator. As such, I think that it would be best for the Reactor team to investigate in the first instance. Please open a Reactor issue so that they can do so. |
Thanks for the info/feedback, for anyone curious, here's the reactor issue: reactor/reactor-core#3541 |
Repository with application that reproduces the issue: https://github.com/tkaesler/spring-leak-reproducer
Spring Boot Starter Parent Version: 3.1.1
When continuously calling a function that reduces a Flux, after a certain time (3 minutes in case of the reproducer) a leak is detected:
What I haven't tested properly:
The text was updated successfully, but these errors were encountered: