uCosminexus Application Server, Definition Reference Guide

[Contents][Index][Back][Next]

-XX:[+|-]HitachiOutOfMemoryCause (Option to output the causes of exception)

Format

-XX:+HitachiOutOfMemoryCause
When OutOfMemoryError occurs, this option outputs the types of causes for exceptions in the JavaVM log file. When the -XX:+HitachiOutOfMemoryStackTrace option is specified, the -XX:+HitachiOutOfMemorySize option is also specified.
The following table describes the types of the causes that are output:
When OutOfMemoryError is thrown because the functionality for setting up the maximum number of threads (HitachiThreadLimit option) is specified and the number of created threads exceeds the specified limit.

Table 16-7 List of types of exception causes

No. Cause message Description
1 C Heap Exception when securing the C heap
2 Java Heap Exception when securing the Java heap
3 Perm Heap Exception when securing the Perm heap
4 Unknown Exception not identified as one of the above
5 Thread Limit Exception thrown when the functionality for setting up the maximum number of threads (-XX:HitachiThreadLimit option) is specified and the number of created threads exceed the specified limit.

-XX:-HitachiOutOfMemoryCause
When OutOfMemoryError occurs, the -XX:-HitachiOutOfMemoryCause option does not output the types of causes for exceptions in the JavaVM log file.

Description

Specify whether to output the types of causes for the occurrence of OutOfMemoryError.

Default value
  • -XX:-HitachiOutOfMemoryCause

Examples of output

[OOM][Thread: 0x00062fd0]<Tue Dec 2 16:42:39 2003>[java.lang.OutOfMemoryError :(C Heap) : unable to create thread : 340 threads exist]