7.13.1 Function to suppress the effect on business
When the memory becomes insufficient due to reasons like the heap size of JavaVM has exceeded upper limit, the "java.lang.OutOfMemoryError" message is displayed. Set the following function to minimize the impact of the OutOfMemoryError on business.
-
Force quit function when OutOfMemory occurs
This is the function to forcefully end J2EE server when OutOfMemoryError occurs. Setting this function forcefully ends the J2EE server and performs automatic restart to enable normal operation. Thus you can control the impact of OutOfMemoryError occurrence on the business which the OutOfMemory has not occurred.
-
OutOfMemory handling function
This function is for continuing the execution of J2EE server, even when you are using the force quit function when OutOfMemory occurs. By setting this function, only the business, with an insufficient memory is stopped. As a result, other businesses without the OutOfMemoryError occurrence are continued.
- Important note
-
In spite of setting the OutOfMemory handling function, if the OutOfMemoryError error occurs while executing the businesses which use the following components, the J2EE server system crashes and all the processes are interrupted. Since you cannot cancel only the business with insufficient memory, you must be very careful.
-
Standard reception (MDB (WS-R))
-
Standard reception (MDB (DB queue))
-
MDB (WS-R) adapter
-
MDB (DB queue) adapter
-
Asynchronous business process
-