Thread Stack Size

Each thread in the JVM is assigned a stack. The stack size therefore limits the number of threads that you can have. Too big a stack size and you will run out of memory as each thread is allocated more memory than it needs. If the stack space is too small, eventually you will see an exception class java.lang.StackOverflowError.

  • -Xss  This Java option determines the size of the thread stack. You can set it in ActiveMatrix Administrator using the Java Thread Stack Size property on the Configuration tab for the node. For details, see "Editing a Node" and "Node Configuration Reference" in the TIBCO ActiveMatrix BPM SOA Administration guide.

    For example, setting Java Thread Stack Size to 1 would add the following to the JVM argument string, setting the thread size to 1 megabyte:

    –Xss1m