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

SimpleProvisionMetrics ThreadLocal leak on Tomcat undeploy #253

Open
cristiancalugaru opened this issue Nov 27, 2015 · 0 comments
Open

SimpleProvisionMetrics ThreadLocal leak on Tomcat undeploy #253

cristiancalugaru opened this issue Nov 27, 2015 · 0 comments

Comments

@cristiancalugaru
Copy link

When undeploying a web app using ProvisionDebugModule, Tomcat will complain about a possible memory leak related to a thread local variable:

The web application [xxx] created a ThreadLocal with key of type [java.lang.ThreadLocal](value [java.lang.ThreadLocal@19b7a0b3]) and a value of type [com.netflix.governator.SimpleProvisionMetrics.Data](value [com.netflix.governator.SimpleProvisionMetrics$Data@47c13c28]) but failed to remove it when the web application was stopped.

This might be a similar issue with Netflix/Hystrix#320 and Netflix/Hystrix#816.
A workaround for now is not to use the ProvisionDebugModule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant