Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2856

Classloader leak caused by xnio-file-watcher

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Final
    • 8.0.0.CR1
    • Web (Undertow)
    • 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.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            hwellmann.de Harald Wellmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: