-
1. Re: jboss runs out of memory loading messages from jms db on
genman Jan 16, 2005 3:58 PM (in response to jbycks)
With MySQL and the way JBoss is designed, if you have a reasonable amount of memory (512MB) for the JVM and have configured the message cache settings properly, you shouldn't run out... JBoss may, however, be very slow on restart. -
2. Re: jboss runs out of memory loading messages from jms db on
jbycks Jan 18, 2005 5:30 PM (in response to jbycks)Currently, I have the following for messagecache setup
130
180
jboss.mq:service=PersistenceManager
500
Is there something I am doing wrong in the messagecache config ? Any other recommendations ?
Jboss runs with 512M. The database has abt 600K messages in JMS_MESSAGES. -
3. Re: jboss runs out of memory loading messages from jms db on
jbycks Jan 18, 2005 5:33 PM (in response to jbycks)reposting the messagecache config part..
<mbean code="org.jboss.mq.server.MessageCache" name="jboss.mq:service=MessageCache"> <attribute name="HighMemoryMark">130</attribute> <attribute name="MaxMemoryMark">180</attribute> <attribute name="CacheStore">jboss.mq:service=PersistenceManager</attribute> <attribute name="MaximumHard">500</attribute> </mbean>
-
4. Re: jboss runs out of memory loading messages from jms db on
jbycks Jan 24, 2005 2:17 PM (in response to jbycks)Could someone please look at the messageconfig I am using (see previous post) and tell me if there is something there that causes memory problems or what can I do to prevent jboss from running out of memory ?
thanks again. -
5. Re: jboss runs out of memory loading messages from jms db on
genman Jan 26, 2005 2:11 AM (in response to jbycks)
You probably need to run your server with more memory. 600K messages doesn't seem like it would starve memory.
What sort of message do you get on startup? -
6. Re: jboss runs out of memory loading messages from jms db on
adrian.brock Jan 28, 2005 3:09 PM (in response to jbycks)Known issue: http://jira.jboss.com/jira/browse/JBAS-1336