Hitachi

uCosminexus Application Server Definition Reference Guide


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

Organization of this page

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 14‒7: List of types of exception causes

No.

Cause message

Description

1

C Heap

Exception thrown when securing the C heap

2

Java Heap

Exception thrown when securing the Java heap

3

Meta Space

Exception thrown when the metaspace area is secured

4

Compressed Class Space

Exception thrown when the compressed class space is secured

5

Unknown

Exception not identified as one of the above

6

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]