reactor-netty 0.7.7 leaks ClassLoader
See original GitHub issueHi @mjiderhamn and thanks for all the work on this library!
I was just testing the newly released Spring Boot Admin 2.0 with our tomcat-classloader-leak-test and sadly it fails. Analyzing the heap dump gives me this picture:
I set a breakpoint in DefaultLoopResources$EventLoop#L238 and saw a huge stacktrace ending in HttpClient#138 where HttpResources.get()
is called but never cleaned up after (as far as I can see) even though HttpResources is reactor.coreDisposable
.
Is there something that this library can do about this? I will try opening an issue with reactor-netty as well.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Loading a KeyStore in Java 7 leaks the Classloader
The Classloader does not leak. When deploying a bunch of empty applications and PermGen reaches a certain threshold Tomcat's Find Leaks stops reporting...
Read more >Reactor Netty Reference Guide
This section provides a brief overview of Reactor Netty reference documentation. You do not need to read this guide in a linear fashion....
Read more >ClassLoader leaks | new Blog("Mattias Jiderhamn")
During September 2016 I'll be speaking about ClassLoader leaks on JavaZone, JDK.IO and JavaOne. For those that listened to my talk and want ......
Read more >Path to Leaking Application Class Loaders - IBM
List all leaked application classloaders with path to GC roots. An application class loader leak occurs when applications are restarted but their class...
Read more >How Do ClassLoader Leaks Happen? - JRebel
In this Reloading Java Classes article, we discuss inevitable and costly classloader leaks. Learn more about why they happen here.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I merged our proposed changes (better late than never - right?). Hope there hasn’t been additional changes to reactor-netty since then.
The reaction was that the HttpResources should be managed on your own if you want them to shutdown.