2 Replies Latest reply on Mar 25, 2009 4:51 PM by Clebert Suconic

    Jboss Messaging causes Memory Leak

    Saeed Kabiri Newbie

      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"
       <attribute name="HighMemoryMark">50</attribute>
       <attribute name="MaxMemoryMark">60</attribute>
       <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute>

      and use the

      We are not able to configure the Attributes:

        • 1. Re: Jboss Messaging causes Memory Leak
          Saeed Kabiri Newbie

          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:
           Depends On Me:

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


          • 2. Re: Jboss Messaging causes Memory Leak
            Clebert Suconic Master

            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.