2 Replies Latest reply on Mar 25, 2009 4:51 PM by clebert.suconic

    Jboss Messaging causes Memory Leak

      Hello Community,

      we have a 4.0.5 which is configured as a JMS-Server with null-persistence. The server is flooded at Runtime with a very large number of ObjectMessages. Our problem is the growing usage of Heap in Runtime which causes an OutOfMemory Exception.

      we configured MessageSoftening

      <mbean code="org.jboss.mq.server.MessageCache"
       name="jboss.mq:service=MessageCache">
       <attribute name="HighMemoryMark">50</attribute>
       <attribute name="MaxMemoryMark">60</attribute>
       <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>
       </mbean>
      

      and use the
      org.jboss.mq.pm.none.PersistenceManager


      We are not able to configure the Attributes:
      75000
      2000
      2000

        • 1. Re: Jboss Messaging causes Memory Leak

          We are not able to configure the Attributes:

          <attribute name="FullSize">75000</attribute>
           <attribute name="PageSize">2000</attribute>
           <attribute name="DownCacheSize">2000</attribute>

          because of following exception:
          ObjectName: jboss.mq.destination:name=rawEventTopic,service=Topic
           State: FAILED
           Reason: org.jboss.deployment.DeploymentException: No Attribute found with name: FullSize
           I Depend On:
           jboss.mq:service=DestinationManager
           jboss.mq:service=SecurityManager
           Depends On Me:
           HFNSI.bi:name=HFNSIEventBridgeService,type=HFNSIEventBridgeService
          


          Is there any way to avoid the growing Heap Usage and the OutOfMemory?

          Thanks

          • 2. Re: Jboss Messaging causes Memory Leak
            clebert.suconic

            That config is for JBossMQ (not JBossMessaging), and this forum is about JBossMessaging.

            Anyway, before posting your question to JBossMQ, refer to JBossMQ user's manual. I know there are several instructions about how to configure caching.


            Or you may also want to try JBossMessaging on JBoss5.