Hitachi

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


7.8.5 -XX:[+|-]HitachiOutOfMemorySize

-XX:[+|-]HitachiOutOfMemorySize outputs the requested memory size when an OutOfMemoryError occurs.

Description

-XX:[+|-]HitachiOutOfMemorySize outputs the requested memory size when an OutOfMemoryError occurs.

Syntax

-XX:[+|-]HitachiOutOfMemorySize

Specifiable values

Type: String

-XX:+HitachiOutOfMemorySize

Outputs the requested memory size (in bytes) when an OutOfMemoryError occurs.

When the -XX:+HitachiOutOfMemoryStackTrace option is specified, this option is also set.

-XX:-HitachiOutOfMemorySize

Does not output the requested memory size when an OutOfMemoryError occurs.

Default value

If the definition item is omitted:

-XX:-HitachiOutOfMemorySize

Example

[OOM][Thread:  0x00062fd0]<Tue Dec 2 16:42:39 2003>
[java.lang.OutOfMemoryError :   requested 1024 bytes. (Java Heap) : 
20 threads exist]

Notes

In the following cases, the requested memory size cannot be collected: