You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by avin98 <av...@yahoo.com> on 2007/04/26 21:12:54 UTC

Out Of Memory ActiveMQ 4.1

I face the OOM errors running on 4.1 , IBM JRE 1.5 on a linux box
This has been reported in JIRA:

https://issues.apache.org/activemq/browse/AMQ-1205

Any clue where this might be happening ?
-- 
View this message in context: http://www.nabble.com/Out-Of-Memory-ActiveMQ-4.1-tf3653590s2354.html#a10206902
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Out Of Memory ActiveMQ 4.1

Posted by James Strachan <ja...@gmail.com>.
On 4/29/07, avin98 <av...@yahoo.com> wrote:
>
> Thanks Sandeep....
> Im more concerned about why this is happening, since I start AMQ 4.1.1
> within Geronimo, rather than using it as a stand-alone app. As a result, I
> want to make sure that my App server doesn't crash, as it now does !!!

If you're worried about that, run the broker as a separate JVM.
-- 
James
-------
http://macstrac.blogspot.com/

Re: Out Of Memory ActiveMQ 4.1

Posted by avin98 <av...@yahoo.com>.
Thanks Sandeep....
Im more concerned about why this is happening, since I start AMQ 4.1.1
within Geronimo, rather than using it as a stand-alone app. As a result, I
want to make sure that my App server doesn't crash, as it now does !!!




Sandeep Chayapathi wrote:
> 
> 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#a10239759
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Out Of Memory ActiveMQ 4.1

Posted by Sandeep Chayapathi <sa...@wssource.com>.
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.