You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Chuck Liu (JIRA)" <ji...@apache.org> on 2010/07/21 11:37:51 UTC

[jira] Created: (AMQ-2844) Handle leak when out-of-memory

Handle leak when out-of-memory
------------------------------

                 Key: AMQ-2844
                 URL: https://issues.apache.org/activemq/browse/AMQ-2844
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.2
         Environment: Windows Server 2003 Ent, tomcat 60.028, jre 6
            Reporter: Chuck Liu
            Priority: Critical


To reproduce this bug:
At the server side, set memory pool of JVM to 20MB.
At client side, start 30 threads, keep sending messages to ActiveMQ.
Soon, the ActiveMQ will report out-of-memory.
But in the exception handler, it didn't close the socket.
Type netstat -an, you will see a lot of connections in state CLOSE_WAIT.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.