When the same resources are accessed during online processing and batch processing, you must take into consideration the fact that there is no influence on the throughput of the online processing.
When the available memory space becomes less during the execution of a batch application, JavaVM executes full garbage collection of the batch server. In such a case, the processing of all programs running on the batch server is interrupted. If some resources are excluded for the batch application, those resources remain in the exclusion state even during the execution of full garbage collection of the batch server. If a process uses the excluded resources during the online processing, the online processing will also be interrupted.
To avoid this, you must setup a threshold value for the memory usage, and execute full garbage collection before the memory becomes insufficient. The explicit full garbage collection can be controlled such that it occurs when the resources are not excluded. By increasing the available memory space before JavaVM executes full garbage collection, you can prevent the execution of the full garbage collection while the resources are in the exclusion state.
When a threshold value is set up, full garbage collection will be executed in the following conditions. However, if some resources are excluded for the batch application at the same time, the full garbage collection will not be executed until the exclusion is cancelled.