Increasing the Stack Size for Validation Engines

To prevent the appearance of a StackOverflowException error, use one of the following methods:

  • Use the com.oxygenxml.stack.size.validation.threads property to increase the size of the stack for validation engines. The value of this property is specified in bytes. For example, to set a value of one megabyte specify 1x1024x1024=1048576.
  • Increase the value of the -Xss parameter.

    Note

    Increasing the value of the -Xss parameter affects all the threads of the application.

Was this helpful?