-XX:HitachiOutOfMemoryStackTraceLineSize (Option for specifying the line size of stack trace)

Format

-XX:HitachiOutOfMemoryStackTraceLineSize=integer-value

Description

When OutOfMemoryError occurs, specify the number of characters in one line of the output stack trace, in bytes. When the option is not specified, by default 1024 bytes is specified. When the specified number of bytes cannot be secured, a warning message is output and the stack trace is not output. When the number of characters in one line exceeds the number of specified characters, the first half portion of the character strings from "at" onwards is deleted and the specified number of characters is output.

Default value
  • -XX:HitachiOutOfMemoryStackTraceLineSize=1024
Prerequisite options
  • -XX:+HitachiOutOfMemoryStackTrace

Argument

integer-value
Specify the integer value from 1024 to 2147483647 (unit: byte). However, if a value out of range is specified, 1024 is set. When negative value is specified, an error will occur.