Hitachi

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


7.8.1 -XX:[+|-]HitachiOutOfMemoryAbort

-XX:[+|-]HitachiOutOfMemoryAbort specifies whether to enable the functionality that forcibly terminates processing when an OutOfMemoryError occurs.

Description

If an OutOfMemoryError occurs due to one of the following reasons, -XX:[+|-]HitachiOutOfMemoryAbort outputs a message to the standard output and then forcibly terminates processing:

Note that, if a C heap shortage occurs during Java VM processing, the processing is forcibly terminated regardless of the specification of this option.

Java VM exit code when processing is forcibly terminated

6

Note, however, that if the processing was executed on a UNIX shell (such as sh and csh), the exit code is 0x86, which is calculated by adding 0x80 to 6.

Syntax

-XX:[+|-]HitachiOutOfMemoryAbort

Specifiable values

Type: String

-XX:+HitachiOutOfMemoryAbort

Forcibly terminates the processing when an OutOfMemoryError occurs.

-XX:-HitachiOutOfMemoryAbort

Does not forcibly terminate the processing even when an OutOfMemoryError occurs.

Default value

If the definition item is omitted:

-XX:-HitachiOutOfMemoryAbort

Example

java.lang.OutOfMemoryError occurred.
JavaVM aborted because of specified -XX:+HitachiOutOfMemoryAbort options.

Notes