Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-817

PermGen memory leak. A deamon thread "CursorCleanerThread" doesn't stopped when undeploy a web application.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.11.1
    • Monitoring
    • None
    • Windows 7 with sp1
      Tomcat 7

    Description

      a thread named "MongoCleanerXXX" still at sleep state when a web application is undeployed.
      This cause a PermGen memory leak.

      The close method in Mongo try to interrupt the cleaner thread. But, that doesn't work.
      There's a try-catch block in the run() of CursorCleanerThread, it catch any Throwable, So, the interrupt may not let the thread die.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wpc009 wpc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: