Java.Lang.OutOfMemoryError: Java Heap Space in JDeveloper11g (Doc ID 1122508.1)

Last updated on JUNE 19, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

You can receive this error loading an application, compiling or deploying.  The solution is generally the same, increase the head size.

With a large deployment the error may take the form:

ERROR
------------
The system is out of resources. Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
at com.sun.tools.javac.util.Position$LineMapImpl.build(Position.java:139)
at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63)
at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1105)
at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:512)
at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550)
at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:801)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115)
at com.collaxa.cube.util.JavaHelper.javac2(JavaHelper.java:113)
at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:79)
at com.collaxa.cube.lang.compiler.BPEL1Processor.compileGeneratedClasses(BPEL1Processor.java:344)
at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:246)
at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:144)
at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:31)
at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:948)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:525)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:205)

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