uCosminexus Application Server, Definition Reference Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
-XX:HitachiOutOfMemoryHandlingMaxThrowCount (Option for setting up the maximum occurrence count)
Format
- -XX:HitachiOutOfMemoryHandlingMaxThrowCount=integer-value
Description
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
Argument
- integer-value
- Specifies the per-hour upper limit of the total occurrence count of the OutOfMemory error caused by a Java heap or Perm heap shortage.
- For 32-bit JavaVM:
- 0 to 3600 (3601 to 231-1 is handled as 3600).
- For 64-bit JavaVM:
- 0 to 3600 (3601 to 263-1 is handled as 3600).
Precautions
If a value other than a natural number is specified, the operation will be the same as when an un-defined option is specified.
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.