OutOfMemoryError error may be received because of inadequate memory when running addnode.sh or during Oracle database installation.
addnode.sh is terminated as follows when the error is received.
1 2 3 4 5 6 7 8 9 10 11 12 13 | JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait. JVMDUMP032I JVM requested Snap dump using '/u01/app/11.2.0/grid/oui/bin/Snap.20180505.135642.24510686.0001.trc' in response to an event JVMDUMP010I Snap dump written to /u01/app/11.2.0/grid/oui/bin/Snap.20180505.135642.24510686.0001.trc JVMDUMP032I JVM requested Heap dump using '/u01/app/11.2.0/grid/oui/bin/heapdump.20180505.135642.24510686.0002.phd' in response to an event JVMDUMP010I Heap dump written to /u01/app/11.2.0/grid/oui/bin/heapdump.20180505.135642.24510686.0002.phd JVMDUMP032I JVM requested Java dump using '/u01/app/11.2.0/grid/oui/bin/javacore.20180505.135642.24510686.0003.txt' in response to an event JVMDUMP010I Java dump written to /u01/app/11.2.0/grid/oui/bin/javacore.20180505.135642.24510686.0003.txt JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError". SEVERE:Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support : "/u01/app/oraInventory/logs/addNodeActions2018-05-05_01-54-55PM.log" "/u01/app/oraInventory/logs/oraInstall2018-05-05_01-54-55PM.err" "/u01/app/oraInventory/logs/oraInstall2018-05-05_01-54-55PM.out" |
To resolve the error, the amount of memory specified in the following line in the oraparam.ini file under the $GRID_HOME/oui/ directory must be increased. The mx value of 150 mb should be changed to at least 2048.
1 | JRE_MEMORY_OPTIONS=" -mx150m -Xverify:none -Dice.pilots.html4.defaultEncoding=ISO8859_1" |