1 Reply Latest reply on Jun 15, 2010 8:39 AM by 843798

    JMX can cause OOM exception


      I have application that need to be running for days.
      When I add to JVM parameters JMX configuration to be able to monitor the application I got Out of Memory exception.
      When I remove the JMX I don't have it.

      Can JMX configuartion cause memory leak ?

        • 1. Re: JMX can cause OOM exception
          Which error do you get? java.lang.OutOfMemoryError: PermGen space? Or do you get your error from a different memory?

          In case of PermGen: In my opinion threre is a bug (not yet accepted by sun/oracle) described here:

          [ OOME because of MBeanServerConnection addListener    |http://forums.sun.com/thread.jspa?threadID=5407170&messageID=10814433#10814433]

          If you are doing something similar, this could be the cause. Our workaround is to disconnect periodically.