[Insight-users] WrapITK error

Zhu, Yaoyao (NIH/NLM/LHC) [C] zhuyao at mail.nih.gov
Fri Jun 22 09:16:14 EDT 2007


Hello, all,

I got the following error when trying to compile WrapITK in linux redhat. Could anyone know what is wrong?

Thanks,
Yaoyao

===========================================================================
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.complete(JavaCompiler.java:646)
        at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1869)
        at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
        at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
        at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
        at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
        at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:842)
        at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:901)
        at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:957)
        at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:986)
        at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1162)
        at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1711)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1547)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
        at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
        at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:1348)
        at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1257)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:377)
        at com.sun.tools.javac.comp.Attr.visitAssign(Attr.java:1547)
        at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1342)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:384)
        at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1017)
        at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1074)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
        at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:397)
        at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:413)
make[2]: *** [Wrapping/WrapITK/Java/InsightToolkit/BaseJava.class] Error 3
make[1]: *** [Wrapping/WrapITK/Java/CMakeFiles/ITKJavaJar.dir/all] Error 2


More information about the Insight-users mailing list