-XX:[+|-]HitachiOutOfMemoryCause (Option to output the causes of exception)
Format
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. |
Description
Specify whether to output the types of causes for the occurrence of OutOfMemoryError.
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] |