Vaggelis Atlidakis created APLO-317:
---------------------------------------

             Summary: OutOfMemoryError: unable to create new native thread
                 Key: APLO-317
                 URL: https://issues.apache.org/jira/browse/APLO-317
             Project: ActiveMQ Apollo
          Issue Type: Bug
          Components: apollo-broker
            Reporter: Vaggelis Atlidakis


Hi,

We are using in CERN ActiveMQ Apollo and before some months we used to have an 
"OutOfMemoryError". To limit this problem we decided to increase the Heap size 
allocated to JVM. In that spirit, we started running the broker in a fat box, 
featuring 48 GB RAM, and allocated 36 GB to the broker. This temporarily solve 
our problems, but from time to time our broker still gets stuck and we manually 
restart it.

However, now the logs say: "java.lang.OutOfMemoryError: unable to create new 
native thread". 
After some reading, it seems that the more memory you give to the JVM heap the 
more likely you are to get "java.lang.OutOfMemoryError" unable to create new 
native thread exceptions when you have many threads.

Clearly, there is somewhere a leak and old threads are not removed. 
Consequently, our broker gets stuck after some days of healthy serving our 
consumers...Any plans of taking care of this bug?


Best Regards,
--
AV


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to