[Insight-users] RE: WrapITK error
Zhu, Yaoyao (NIH/NLM/LHC) [C]
zhuyao at mail.nih.gov
Fri Jun 22 10:19:54 EDT 2007
Gaëtan,
I think I fixed the problem by specifying -J-mx512m in CMakeList.txt under Wrapping/WrapITK/Java.
Thanks,
Yaoyao
-----Original Message-----
From: Gaëtan Lehmann [mailto:gaetan.lehmann at jouy.inra.fr]
Sent: Friday, June 22, 2007 9:48 AM
To: Zhu, Yaoyao (NIH/NLM/LHC) [C]
Cc: Insight Users
Subject: Re: WrapITK error
Le 22 juin 07 à 15:16, Zhu, Yaoyao (NIH/NLM/LHC) [C] a écrit :
> Hello, all,
>
> I got the following error when trying to compile WrapITK in linux
> redhat. Could anyone know what is wrong?
you don't have enough memory ?
Gaëtan
>
> 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
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
More information about the Insight-users
mailing list