activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Krishnan (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3038) Possible Memory-Leak as ActiveMQTempDestinations don't get deleted when ActiveMQConnection.close() is called
Date Wed, 04 Jan 2012 14:30:39 GMT

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

Hari Krishnan commented on AMQ-3038:
------------------------------------

Kindly explain why we are not calling deleteTempDestination as shown below?
for (Iterator<ActiveMQTempDestination> i = this.activeTempDestinations.values().iterator();
i.hasNext();) {
  ActiveMQTempDestination c = i.next();
  deleteTempDestination(c); 
}

Calling delete on ActiveMQTempDestination also calls deleteTempDestination again on the connection.

Please clarify.


                
> Possible Memory-Leak as ActiveMQTempDestinations don't get deleted when ActiveMQConnection.close()
is called
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-3038
>                 URL: https://issues.apache.org/jira/browse/AMQ-3038
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: trunk
>            Reporter: Norman Maurer
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ-3038.diff
>
>
> As TemporaryQueue and TemporaryTopic is bound to the scope of a Connection both should
be deleted when the Connection is closed. If that's not done its possible to see a Memory-Leak
on heavy usage really soon

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