The below issue was faced by my fellow DBA while in checking OPatch version in Grid Home, Interestingly the same OPatch  utility works fine in RDBMS Home

Issue-OPatch version command failed with below error on GRID_HOME but it was working fine on DB home
Error:- 
opatch version
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Solution- JRE memory parameter was set to the high value on GRID_home due to which heap memory error occurred, this was taken care by decreasing JRE memory value.
Step 1- cd to $GRID_HOME/oui
Step 2- Decrease JRE memory parameter value in oraparam.ini file
JRE_MEMORY_OPTIONS=” -Xms768m -Xmx4500m -XX:MaxPermSize=1280M”

 

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: Joel Perez’s Profile

Anuradha’s LinkedIn: Anuradha’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.