Hitachi

uCosminexus Application Server Definition Reference Guide


-XX:[+|-]HitachiOutOfMemoryAbort (Forced termination option)

Organization of this page

Format

-XX:+HitachiOutOfMemoryAbort

When OutOfMemoryError occurs, this option outputs the memory dump and executes forced termination.

-XX:-HitachiOutOfMemoryAbort

When OutOfMemoryError occurs, this option does not execute forced termination.

Description

When OutOfMemoryError occurs due to the following reasons, a message is output to the standard output and memory dump or core dump to the current directory, and then forced termination is executed.

Note that when C heap is insufficient during JavaVM processing, the process is forcefully terminated regardless of whether this option is specified.

Exit code for forced termination

The JavaVM exit code for forced termination is as follows:

In Windows

1

In UNIX

6

Note that when executed on UNIX shell (such as sh and csh), 0x80 is added and the exit code becomes 0x86.

Default value
  • -XX:-HitachiOutOfMemoryAbort

Examples of output

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

Precautions