You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by marcosRz <ma...@gmail.com> on 2009/11/27 15:09:52 UTC
ActiveMQ OutOfMemory Can’t create more threads
I'm simulating a overload of a server and I'm getting this error:
java.lang.OutOfMemoryError: unable to create new native thread
I've read in this page http://activemq.apache.org/javalangoutofmemory.html,
that I can increase the memory size. But how do I do that? Which file I need
to modify,? I tried to pass the arguments by the bin/activemq script but no
luck.
PS: I'm running activemq directly, i.e., bin/activemq
--
View this message in context: http://old.nabble.com/ActiveMQ-OutOfMemory-Can%E2%80%99t-create-more-threads-tp26542891p26542891.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ OutOfMemory Can’t create more threads
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,
you should edit bin/activemq file and make appropriate changes to
ACTIVEMQ_OPTS. Also, take a look at this article
http://activemq.apache.org/how-do-i-configure-10s-of-1000s-of-queues-in-a-single-broker-.html
and if you're on 5.3.0 take a look at conf/activemq-scalability.xml
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Fri, Nov 27, 2009 at 3:09 PM, marcosRz <ma...@gmail.com> wrote:
>
> I'm simulating a overload of a server and I'm getting this error:
>
> java.lang.OutOfMemoryError: unable to create new native thread
>
> I've read in this page http://activemq.apache.org/javalangoutofmemory.html
> ,
> that I can increase the memory size. But how do I do that? Which file I
> need
> to modify,? I tried to pass the arguments by the bin/activemq script but no
> luck.
>
> PS: I'm running activemq directly, i.e., bin/activemq
> --
> View this message in context:
> http://old.nabble.com/ActiveMQ-OutOfMemory-Can%E2%80%99t-create-more-threads-tp26542891p26542891.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>