Specifies the per-hour upper limit for the total OutOfMemory occurrence count caused by a Java heap or Perm heap shortage when the OutOfMemory handling functionality is enabled.
The value specified in this option is used to determine the throw OutOfMemoryError exclusion condition.
If an OutOfMemory error occurs because of a Java heap or Perm heap shortage, the processing is executed as follows:
- If the total value (including the current OutOfMemory) of the occurrence count of the OutOfMemory error caused by a Java heap shortage and a Perm heap shortage occurring within the past one hour from the time when the current OutOfMemory error occurred is greater than the upper limit specified in this option, the OutOfMemoryError is not thrown. The processing shifts to the forced termination functionality for OutOfMemory (-XX:+HitachiOutOfMemoryAbort) and JavaVM is terminated forcibly.
- If you specify 0 as the value of this option and if the OutOfMemory error occurs, the processing necessarily shifts to the forced termination functionality for OutOfMemory and JavaVM is terminated forcibly.
- If you specify 3600 as the value of this option, the throw OutOfMemoryError exclusion condition is not determined. In this case, when the OutOfMemory error occurs, the java.lang.OutOfMemoryError is necessarily thrown if a OutOfMemoryError throwing condition other than the throw OutOfMemoryError exclusion condition is satisfied.
- Default value
- -XX:HitachiOutOfMemoryHandlingMaxThrowCount=60
- Prerequisite options
- -XX:+HitachiOutOfMemoryHandling