IAS component OC4JGroup:default_group (OC4J:oacore) stopped/failed automatically in EBS

In our production instance R12.1.X.X  IAS component "oacore" frequently
down/failed.

Check the services in case of oacore failure..

$sh adapcctl.sh status

You are running adapcctl.sh version 120.7.12010000.2
Checking status of OPMN managed Oracle HTTP Server (OHS) instance.

Processes in Instance: PROD.xxxxxxxxxx
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------

OC4JGroup:default_group          | OC4J:oafm           |   19410 | Alive
OC4JGroup:default_group          | OC4J:forms          |   19319 | Alive
OC4JGroup:default_group          | OC4J:oacore        |   19140 | Failed
HTTP_Server                             | HTTP_Server       |   19069 | Alive
OC4JGroup:default_group          | OC4J:oacore    |  23108 | failed

To resolve the above issue  need to be modify/increase the JVM processes as below in context file: 


<oacore_jvm_start_options oa_var="s_oacore_jvm_start_options">-
server -verbose:gc -Xmx512M -Xms128M -XX:MaxPermSize=160M -
XX:NewRatio=2 

To 


<oacore_jvm_start_options oa_var="s_oacore_jvm_start_options">-
server -verbose:gc -Xmx1024M -Xms512M -XX:MaxPermSize=256M -
XX:NewRatio=2 

=> Stop the services
 
=> Run autoconfig 

=> Restart the services 


Check it again:-


$sh adapcctl.sh status


You are running adapcctl.sh version 120.7.12010000.2


Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...


Processes in Instance: PROD.xxxxxxxxx

---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------

OC4JGroup:default_group          | OC4J:oafm          |   19410 | Alive

OC4JGroup:default_group          | OC4J:forms         |   19319 | Alive

OC4JGroup:default_group          | OC4J:oacore       |   19140 | Alive

HTTP_Server                             | HTTP_Server     |   19069 | Alive


In my case issue was resolved successfully ......😁