DBCA gives Out Of Memory Error: Java Heap Space Error on linux (Doc ID 1552676.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 20-Sep-2016***

Symptoms

During database creation via DBCA sometimes we can get "Java.lang.OutOfMemoryError: Java Heap Space" Error 

Error stack

d:295]  PRCI-1124 : Oracle Restart home does not exist on the local node
Exception on Toolkit thread: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
       at sun.awt.X11.XWindow.handleMotionNotify(XWindow.java:619)
       at sun.awt.X11.XBaseWindow.dispatchEvent(XBaseWindow.java:798)
       at sun.awt.X11.XBaseWindow.dispatchToWindow(XBaseWindow.java:767)
       at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:394)
       at sun.awt.X11.XToolkit.run(XToolkit.java:493)
       at sun.awt.X11.XToolkit.run(XToolkit.java:438)
       at java.lang.Thread.run(Thread.java:637)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space  -----------------------------> out of memory error
       at oracle.xml.parser.v2.XMLNode.xdkDocInit(XMLNode.java:3997)
       at oracle.xml.parser.v2.XMLNode.<init>(XMLNode.java:489)
       at oracle.xml.parser.v2.XMLNSNode.<init>(XMLNSNode.java:131)
       at oracle.xml.parser.v2.XMLElement.<init>(XMLElement.java:375)
       at oracle.sysman.oix.oixs.OixsUnknownElementHandler.<init>(OixsUnknownElementHandler.java:84)
       at oracle.sysman.oix.oixs.OixsElementHandler.setUnknownElementHandler(OixsElementHandler.java:235)
       at oracle.sysman.oix.oixs.OixsElementHandler.startElement(OixsElementHandler.java:144)
       at oracle.sysman.oix.oixs.OixsDefaultHandler.startElement(OixsDefaultHandler.java:109)
       at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)
       at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1353)
       at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:399)
       at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:345)
       at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms