-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
War deployment in standalone Tomcat causes memory leak (Metaspace) #27987
Comments
Current workaround (kotlin):
|
Did you set up your WAR deployment as documented in the reference docs? The shutdown hook should not be registered for WAR deployments. If you believe there's an issue, can you provide a sample application (that we can clone and compile) that reproduces the issue? Thanks |
I've reproduced this while looking at #27996. The problem is that loading I think we should delay registration of the hook until the first application context is registered. |
Steps to reproduce:
Analysis
Causes
The text was updated successfully, but these errors were encountered: