Try the following:

1. in conf/activemq.xml, uncomment the <memoryManager> block and set the
<usageManager> to "512 MB" or some such higher memory value.

2. edit bin/activemq and set the ACTIVEMQ_OPTS with "-Xmx512M" or such
higher number.

These two settings should buy you more memory space for large number of
messages, but doesn't eliminate the exception, if you have many unacked
messages in queues or durable subscribers.

- Sandeep
-- 
View this message in context: 
http://www.nabble.com/Out-Of-Memory-ActiveMQ-4.1-tf3653590s2354.html#a10206965
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to