activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickhayes <mickha...@gmail.com>
Subject Re: java.io.IOException: Too many open files (v5.4.2)
Date Mon, 21 May 2012 08:56:02 GMT
I would just point out that if you have thousands of threads, you will hit
another limit due to the stack-space per-thread (native memory.)

If a broker is running in a 32-bit JVM (max 2^^32 ~ 4GB addressable), then
increasing the maxheap space (as mentioned in the orginal post) reduces the
portion of 4GB that you have left for the stack-per-thread. 

So - all other things being equal - increasing the maxheapsize means that
you can handle *fewer threads* in that JVM.





-----
Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA 

--
View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException-Too-many-open-files-v5-4-2-tp4643701p4647881.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message