1 Reply Latest reply: Jun 15, 2010 3:39 AM by 843798 RSS

    JMX can cause OOM exception

    843798
      Hi,

      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 ?

      Thanks
        • 1. Re: JMX can cause OOM exception
          843798
          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.