activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickhayes <>
Subject Re: 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:
Sent from the ActiveMQ - User mailing list archive at

View raw message