1 Reply Latest reply on Feb 25, 2004 1:01 PM by Adrian Brock

    Limiting the total memory used by queues.

    Jeff Bannister Newbie


      I would just like someone to confirm how I specify an exact maximum limit of memory that queued JMS messages should use.

      I currently have three separate queues all of which store messages using the JDBC persistence manager into a local Firebird database.

      Do I just need to change the 'org.jboss.mq.server.MessageCache' bean in the jmsmq-service.xml? i.e. The HighMemoryMark, and MaxMemoryMark attributes of this mbean.

      Also when the messages are swapped out of memory when these limits are reached will they be stored into the currently configured 'PersistenceManager' mbean which is my file in the JDBC one? Because this doesn't seem right because my messages are already in the database as they are durable.

      Could someone advise me on this?