JAVA utlities failing in ORACLE_HOME with "There is insufficient memory for the Java Runtime Environment to continue "
(Doc ID 2599766.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 and laterLinux x86-64
Symptoms
With the latest UEK kernel (version 4.1.12-124.32.1), java based oracle tools are failing with memory errors
4.1.12-124.32.1.el7uek.x86_64
Example commands and errors:
$ ${ORACLE_HOME}/gridSetup.sh -executePrereqs -silent -responseFile upgrade_grid.rsp
Launching Oracle Grid Infrastructure Setup Wizard...
[FATAL] null
$ $ORACLE_HOME/OPatch/opatch lsinventory
Java (1.6) could not be located. OPatch cannot proceed!
OPatch returns with error code = 1
$ $ORACLE_HOME/jdk/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ srvctl
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Example commands and errors:
$ ${ORACLE_HOME}/gridSetup.sh -executePrereqs -silent -responseFile upgrade_grid.rsp
Launching Oracle Grid Infrastructure Setup Wizard...
[FATAL] null
$ $ORACLE_HOME/OPatch/opatch lsinventory
Java (1.6) could not be located. OPatch cannot proceed!
OPatch returns with error code = 1
$ $ORACLE_HOME/jdk/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ srvctl
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |