APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

System out of resources

Return to the EJS Modeling forum
Login to post to this thread

Out of memory
Apostolos Michaloudis
28 Posts

Hi! I get the following error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapCharBuffer.(Unknown Source)
at java.nio.CharBuffer.allocate(Unknown Source)
at com.sun.tools.javac.util.BaseFileManager.decode(BaseFileManager.java:221)
at com.sun.tools.javac.file.RegularFileObject.getCharContent(RegularFileObject.java:117)
at com.sun.tools.javac.file.RegularFileObject.getCharContent(RegularFileObject.java:53)
at com.sun.tools.javac.util.DiagnosticSource.initBuf(DiagnosticSource.java:185)
at com.sun.tools.javac.util.DiagnosticSource.findLine(DiagnosticSource.java:153)
at com.sun.tools.javac.util.DiagnosticSource.getLineNumber(DiagnosticSource.java:77)
at com.sun.tools.javac.util.JCDiagnostic.(JCDiagnostic.java:399)
at com.sun.tools.javac.util.JCDiagnostic$Factory.create(JCDiagnostic.java:238)
at com.sun.tools.javac.util.JCDiagnostic$Factory.create(JCDiagnostic.java:223)
at com.sun.tools.javac.comp.Resolve$AbstractMethodCheck.reportMC(Resolve.java:772)
at com.sun.tools.javac.comp.Resolve$AbstractMethodCheck.argumentsAcceptable(Resolve.java:728)
at com.sun.tools.javac.comp.Resolve$4.argumentsAcceptable(Resolve.java:831)
at com.sun.tools.javac.comp.Resolve.rawInstantiate(Resolve.java:578)
at com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1418)
at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1597)
at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1668)
at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1641)
at com.sun.tools.javac.comp.Resolve.findConstructor(Resolve.java:2527)
at com.sun.tools.javac.comp.Resolve$11.doLookup(Resolve.java:2496)
at com.sun.tools.javac.comp.Resolve$BasicLookupHelper.lookup(Resolve.java:3056)
at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3307)
at com.sun.tools.javac.comp.Resolve.resolveConstructor(Resolve.java:2493)
at com.sun.tools.javac.comp.Resolve.resolveConstructor(Resolve.java:2484)
at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1801)
at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1459)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:596)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:645)
at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1596)
at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1290)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:596)

Can this be fixed somehow?


Current Replies - View all
Re: Out of memory   (Apostolos Michaloudis - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book