activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-3959) Memory leak caused by org.apache.activemq.util.StringArrayEditor
Date Fri, 03 Aug 2012 11:43:02 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428004#comment-13428004
] 

Sergey edited comment on AMQ-3959 at 8/3/12 11:41 AM:
------------------------------------------------------

The undeployed web application remains in memory until you re-deploy or re-start. After re-start
the reference is replaced by the new StringArrayEditor class loaded by the new WebAppClassLoader.

The issue doesn't happen when ActiveMQ libraries are in Tomcat shared libs.
                
      was (Author: sgri):
    The undeployed web application remain in memory until you re-deploy or re-start. After
re-start the reference is replaced by the new StringArrayEditor class loaded by the new WebAppClassLoader.

The issue doesn't happen when ActiveMQ libraries are in Tomcat shared libs.
                  
> Memory leak caused by org.apache.activemq.util.StringArrayEditor
> ----------------------------------------------------------------
>
>                 Key: AMQ-3959
>                 URL: https://issues.apache.org/jira/browse/AMQ-3959
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Oracle JDK 1.6.0_32
> Tomcat 7.0.28
>            Reporter: Sergey
>         Attachments: StringArrayEditor_memory_leak.png
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message