Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


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

Specifiable values

integer_value

Type: Integer

Specify an integer value (in bytes) from 1,024 to 2,147,483,647. If you specify a value outside of this range, 1024 is set. If you specify a negative value, an error occurs.

Default value

If the definition item is omitted:

-XX:HitachiOutOfMemoryStackTraceLineSize=1024