Details
-
Bug
-
Resolution: Done
-
Major
-
8.0.0.CR1
-
None
Description
After redeploying my application from Eclipe/JBoss Tools via "Full Publish" a couple of times in a row, I'm getting a PermGen OutOfMemoryError.
In jvisualvm, I can see multiple threads named xnio-file-watcher, each having its context classloader set to the module classloader of my (undeployed) application. Probably the thread should be stopped (but isn't) when the application is undeployed.
This leak only occurs with unzipped deployments.
I also see these extra threads independent of Eclipse when copying an unzipped deployment to standalone/deployments and adding/removing the dodeploy/deployed marker files.