Bonjour à tous,

J'ai créer une application à l'aide du Google Web Toolkit.
Le problème est que je n'arrive pas a utiliser le compilateur du GWT.

Voila ce que j'ai essayé de faire :

1) Utiliser le bouton "Compile/Browse" du "hosted mode"

Resultat :

[ERROR] Unexpected internal compiler error java.lang.OutOfMemoryError: Java heap space

[ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...)

[ERROR] Exception invoking periodic operation: java.lang.OutOfMemoryError: Java heap space
at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:825)
at org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java:432)
at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:748)
at org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirContext.java:1448)
at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1401)
at org.apache.naming.resources.ProxyDirContext.getAttributes(ProxyDirContext.java:818)
at org.apache.catalina.startup.HostConfig.checkContextLastModified(HostConfig.java:743)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1085)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)


2) Utiliser le script "Application-compile.cmd"

Resultats :

[ERROR] Unexpected internal compiler error java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.lang.String.valueOf(Unknown Source)
at com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.makeSourceInfo(BuildTypeMap.java:102)
at com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.translateException(BuildTypeMap.java:117)
at com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:363)
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:178)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1170)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:339)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:677)
at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:667)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compile(JavaToJavaScriptCompiler.java:294)
at com.google.gwt.dev.GWTCompiler.realizePermutation(GWTCompiler.java:688)
at com.google.gwt.dev.GWTCompiler.compilePermutations(GWTCompiler.java:411)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:335)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:755)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:745)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:213)

[ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...)
[ERROR] Build failed


REM : Le paramètre "Xmx" de mon eclipse.ini est bien plus élevé que 128M.

eclipse.ini :
-showsplash org.eclipse.platform --launcher.XXMaxPermSize 128M -vmargs -Xms64m -Xmx1024m
Est-ce que vous auriez une idée de comment je pourrais faire pour pouvoir compiler mon application GWT ?