You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Sergey (JIRA)" <ji...@apache.org> on 2012/08/04 11:01:03 UTC

[jira] [Created] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Sergey created AMQ-3962:
---------------------------

             Summary: Memory leak bacause of InactivityMonitor thread
                 Key: AMQ-3962
                 URL: https://issues.apache.org/jira/browse/AMQ-3962
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client
    Affects Versions: 5.6.0, 5.5.0
         Environment: Ubuntu 12.04 x64
Tomcat 7.0.28
Oracle JDK 1.6.0_32
            Reporter: Sergey


When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

        

[jira] [Updated] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Sergey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey updated AMQ-3962:
------------------------

    Attachment: patch.txt

Attached a patch.
                
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>         Attachments: memory_leak_inactivity_monitor.png, patch.txt
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

        

[jira] [Commented] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449864#comment-13449864 ] 

Claus Ibsen commented on AMQ-3962:
----------------------------------

Sergey, what is "Tomcat Manager". Do you mean the web console that Tomcat offers?
                
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>             Fix For: 5.7.0
>
>         Attachments: memory_leak_inactivity_monitor.png, patch.txt
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

[jira] [Commented] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450643#comment-13450643 ] 

Claus Ibsen commented on AMQ-3962:
----------------------------------

Okay Sergey the latest fixes are in the code base. Fell free to give the 5.7-SNAPSHOT a try on your end as well.


                
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>            Assignee: Claus Ibsen
>             Fix For: 5.7.0
>
>         Attachments: memory_leak_inactivity_monitor.png, patch.txt
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

[jira] [Assigned] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned AMQ-3962:
--------------------------------

    Assignee: Claus Ibsen
    
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>            Assignee: Claus Ibsen
>             Fix For: 5.7.0
>
>         Attachments: memory_leak_inactivity_monitor.png, patch.txt
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

[jira] [Updated] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Sergey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey updated AMQ-3962:
------------------------

    Attachment: memory_leak_inactivity_monitor.png

Added a screenshot with profiler.
                
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>         Attachments: memory_leak_inactivity_monitor.png
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

        

[jira] [Updated] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated AMQ-3962:
-----------------------------

    Fix Version/s: 5.7.0
    
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>            Assignee: Claus Ibsen
>             Fix For: 5.7.0
>
>         Attachments: memory_leak_inactivity_monitor.png, patch.txt
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

[jira] [Resolved] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved AMQ-3962.
------------------------------

    Resolution: Fixed
    
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>            Assignee: Claus Ibsen
>             Fix For: 5.7.0
>
>         Attachments: memory_leak_inactivity_monitor.png, patch.txt
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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

[jira] [Commented] (AMQ-3962) Memory leak bacause of InactivityMonitor thread

Posted by "Sergey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449882#comment-13449882 ] 

Sergey commented on AMQ-3962:
-----------------------------

Yes, the Tomcat's web console which is available at http://localhost:8080/manager/html
                
> Memory leak bacause of InactivityMonitor thread
> -----------------------------------------------
>
>                 Key: AMQ-3962
>                 URL: https://issues.apache.org/jira/browse/AMQ-3962
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.5.0, 5.6.0
>         Environment: Ubuntu 12.04 x64
> Tomcat 7.0.28
> Oracle JDK 1.6.0_32
>            Reporter: Sergey
>            Assignee: Claus Ibsen
>             Fix For: 5.7.0
>
>         Attachments: memory_leak_inactivity_monitor.png, patch.txt
>
>
> When I re-start my web application which connects to a standalone ActiveMQ broker via Tomcat Manager, I got OutOfMemoryError in PermGenSpace. The profiler shows that after stopping the web application it could not be unloaded from memory because of a memory leak caused by InactivityMonitor thread, see the screenshot for detail. 

--
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