...
If the Platform or an EC runs out of memory during, for example, a system import, the System Log might not be properly updated with the out of memory information. To make sure that this critical error information is properly stored in System Log, an oom
script is executed each time an OutOfMemoryError exception is thrown. The JVM is started using the -XX:OnOutOfMemoryError=oom
flag, which enables the JVM to catch all OutOfMemoryError exceptions from the oom
script.
OOM Script
The oom
script uses three parameters to generate output:
...
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
User Defined Script
It is possible to use a user defined script for sending, for example, e-mail notifications related to the OutOfMemoryError exception. This script must be called user_oom
and located in MZ_HOME/bin. If user_oom
is available, the oom script will call it and forward the $1 and $2 parameter values.
...