The amount of memory allocated for the thread stack is specific to your JVM Version + Operating System. It is configured with the -XX: ThreadStackSize parameter (-Xss in older versions.) Anecdotally 512KB is "normal", although on 64-bit Linux it is 1024, which is probably the platform that is most often critical (in any case, the opinion of one guy)
source
share