Document ID: TEC611162Last Modified Date: 5/14/2014
Author: Hallett_German
Description:For most JVMs, setting the specified thread stack size to 192 (-XX:ThreadStackSize=192) for defects and statistical aggregation is sufficient, but there are JVMs which may need more than 256.
Solution:For the instructions below, obtain a copy of TestThreadStackSize.java from https://gist.github.com/rednaxelafx/1066792. This simple Java program sleeps 5 minutes, giving you ample time to use the jinfo JDK utility to discover the default and minimum values needed to successfully invoke a JVM.
How to determine the default thread stack size in a 32-bit JVM
How to determine the minimum required thread stack size in a 32-bit JVM
How to determine the default thread stack size in a 64-bit JVM
How to specify JVM ThreadStackSize for HP-UX
Search the Entire CA APM Knowledge Base