[jboss-jira] [JBoss JIRA] (AS7-4904) Memory leak when requesting attributes using JMXConnectorFactory over remoting-jmx via management interface
Mattias Holmqvist (JIRA)
jira-events at lists.jboss.org
Wed Jun 27 10:48:12 EDT 2012
[ https://issues.jboss.org/browse/AS7-4904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703578#comment-12703578 ]
Mattias Holmqvist commented on AS7-4904:
----------------------------------------
After profiling, we have found a HashMap in [1] that only holds references to proxies with RemoteConnectionChannel and RemoteConnection objects, without either using or removing them. This is causing a memory leak since these connections will be references forever in the HashMap.
We have a pull request [2] to plainly remove the HashMap since it's not used and causing JBoss to go down when we monitor it over JMX.
[1] https://github.com/jbossas/remoting-jmx/blob/master/src/main/java/org/jboss/remotingjmx/RemotingConnectorServer.java#L73
[2] https://github.com/jbossas/remoting-jmx/pull/8
> Memory leak when requesting attributes using JMXConnectorFactory over remoting-jmx via management interface
> -----------------------------------------------------------------------------------------------------------
>
> Key: AS7-4904
> URL: https://issues.jboss.org/browse/AS7-4904
> Project: Application Server 7
> Issue Type: Bug
> Components: JMX
> Affects Versions: 7.1.1.Final
> Environment: java version "1.6.0_31"
> Reporter: Alexandre Gattiker
> Assignee: John Bailey
>
> Repeated remote request of JMX attributes, as performed by a Nagios plugin, causes heap space to grow to the limit and eventually the server to freeze.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list