7.8.7 -XX:HitachiOutOfMemoryStackTraceLineSize
-XX:HitachiOutOfMemoryStackTraceLineSize specifies the number of characters (in bytes) per line of the stack trace that is output when an OutOfMemoryError occurs.
Description
-XX:HitachiOutOfMemoryStackTraceLineSize specifies the number of characters (in bytes) per line of the stack trace that is output when an OutOfMemoryError occurs. If this option is not specified, 1024 bytes are set by default. When the specified number of bytes cannot be allocated, a warning message is output and no stack trace is output. In addition, if the number of characters in a row exceeds the specified number of characters, characters after "at" are deleted in order until the number of characters in that row is equal to the specified number. Then the character string of length equal the specified number of bytes is output.
Note that, when the -XX:+JavaLogAsynchronous option is specified, 4096 is set for this option.
- Prerequisite options
-
-
-XX:+HitachiOutOfMemoryStackTrace
-
Syntax
-XX:HitachiOutOfMemoryStackTraceLineSize=integer_value