Troubleshooting
Problem
Installation of MCF v8.0 throws Out-of-Memory (OOM) errors while compiling source files at
Symptom
This is on MCF v8.0 installation. During installation, user sees OOM error and the installation stops. The user sees OOM when system tries to compile source files present under <INSTALL_DIR>/repository/bin. The error stack is as shown below.
Trace snippet from PreInstallSI.log:
dbclassgen.build:
dbclassgen:
build:
[javac] Compiling 581 source files to /usr/local/oms/8.0/Foundation/repository/bin
[javac] Compiling 3010 source files to /usr/local/oms/8.0/Foundation/repository/bin
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
[javac] at com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:324)
[javac] at com.sun.tools.javac.code.Scope.enter(Scope.java:187)
[javac] at com.sun.tools.javac.comp.MemberEnter.importAll(MemberEnter.java:129)
[javac] at com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:533)
[javac] at com.sun.tools.javac.tree.Tree$Import.accept(Tree.java:397)
[javac] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:383)
[javac] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:395)
[javac] at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:507)
[javac] at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:382)
[javac] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:383)
[javac] at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:778)
[javac] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
[javac] at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:612)
[javac] at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:550)
[javac] at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:118)
[javac] at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:816)
[javac] at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:874)
[javac] at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:926)
[javac] at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:959)
Resolving The Problem
Historical Number
NFX7805
Product Synonym
[<p><b>]Escalation ID[</b><p>];108155;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21560538