[Insight-users] Re: WrapITK error

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Jun 22 13:06:52 EDT 2007


Hi Yaoyao,

Can you send me a patch so I can put it in cvs ?

Thanks,

Gaëtan



Le 22 juin 07 à 16:19, Zhu, Yaoyao (NIH/NLM/LHC) [C] a écrit :

>
> 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
>
>
>

--
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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070622/b4b64914/PGP.pgp


More information about the Insight-users mailing list