Stack overflow

Each thread in a Java application has its own stack. The stack holds return addresses, function/method call arguments, and so on. If a thread tends to process large structures with recursive algorithms, it might need a large stack for all those return addresses. With the JVM, you can set that size with the -Xss option.

Symptoms

This message typically appears in the OpenText SAST log file, but might also appear in the command-line output:

java.lang.StackOverflowError

Resolution

The default stack size is 16 MB. To increase the stack size, pass the -Xss option to the sourceanalyzer command. For example, -Xss32M increases the stack to 32 MB.