[jboss-jira] [JBoss JIRA] (WFLY-2856) Classloader leak caused by xnio-file-watcher

Harald Wellmann (JIRA) issues at jboss.org
Mon Feb 3 05:18:28 EST 2014


Harald Wellmann created WFLY-2856:
-------------------------------------

             Summary: Classloader leak caused by xnio-file-watcher
                 Key: WFLY-2856
                 URL: https://issues.jboss.org/browse/WFLY-2856
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 8.0.0.CR1
            Reporter: Harald Wellmann


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list