Pages

Sunday, May 12, 2013


DBCA error Java.lang.OutOfMemoryError: Java Heap Space" Error


We can increase the default 128m memory value in dbca file and start dbca again

Windows :
1. Navigate to ORACLE_HOME/BIN (Take a backup dbca.bat)
2. Find and edit file dbca.bat with the below 
"D:\Oracle_DB\product\11.2.0\dbhome_1\jdk\jre\BIN\JAVA" -DORACLE_HOME="%OH%" -Doracle.installer.not_bootstrap=true -DJDBC_PROTOCOL=thin -mx128m oracle.sysman.assistants.dbca.Dbca %*
3. Modify "-mx128m" value to a higher value like -mx512m

Linux:
1. cd $ORACLE_HOME/bin
2. ls -ltr dbca
3. vi dbca and edit the value -mx128m
JRE_OPTIONS="${JRE_OPTIONS} -DSET_LAF=${SET_LAF} -Dsun.java2d.font.DisableAlgorithmicStyles=true -Dice.pilots.html4.ignoreNonGenericFonts=true -DDISPLAY=${DISPLAY} -DJDBC_PROTOCOL=thin -mx128m"

No comments:

Post a Comment