10.2.0.1~11.1.0.6 RAC用$CRS_HOME/oui/bin/addNode.sh添加node时报的错.看一下 $CRS_HOME/oui/oraparam.ini 这个文件的作用.
Adding Node To Rac Fails With Exception Java.Lang.OutOfMemoryError Occurred [ID 744213.1] | |||||
Modified 25-AUG-2011 Type HOWTO Status PUBLISHED |
In this Document
Goal
Solution
Scalability RAC Community
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.1.0.6 - Release: 10.2 to 11.1Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.1.0.6 [Release: 10.2 to 11.1]
Information in this document applies to any platform.
Goal
Every time $CRS_HOME/oui/bin/addNode.sh is run either via the GUI or silent mode you get the following error:
Exception java.lang.OutOfMemoryError occurred..
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
The error is either displayed or can also be found in the Install error log.
Solution
Please edit the file: $CRS_HOME/oui/oraparam.ini
and search for this line:
JRE_MEMORY_OPTIONS=" -mx96m"
Change this value:
JRE_MEMORY_OPTIONS=" -mx128m"
You may increase the value up to -mx512m if it fails again.