Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3959

Memory leak caused by org.apache.activemq.util.StringArrayEditor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.5.0, 5.6.0
    • Fix Version/s: None
    • Component/s: JMS client
    • Labels:
    • Environment:

      Ubuntu 12.04 x64
      Oracle JDK 1.6.0_32
      Tomcat 7.0.28

      Description

      Create a web application which connects to an ActiveMQ standalone server, package activemq-core.jar into WAR under WEB-INF/lib.
      Deploy the WAR to a Tomcat 7. Then undeploy. In Tomcat manager press "Find leaks" button in "Diagnostics" section. Tomcat will complain that after undeployment some classes are still in memory.
      Use profiler to locate WebAppClassLoader, see the screenshot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sgri Sergey
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: