Monday, November 4, 2013

Re: OutOfMemoryError after upgrade to OS X Mavericks

I'm not seeing any GWT changes after upgrading to Mavericks, but googling that error message does find some suggestions:

https://www.google.ca/search?q=OutOfMemoryError:+Increase+heap+size+or+lower+gwt.jjs.maxThreads

On Monday, November 4, 2013 8:24:36 AM UTC-8, E.P. wrote:
Hi everyone,
after the upgrade to Mavericks I am having a problem compiling my application:

Compiling 1 permutation
      Compiling permutation 0...
      [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads
java.lang.OutOfMemoryError: Java heap space
    at java.util.HashMap.resize(HashMap.java:559)
    at java.util.HashMap.addEntry(HashMap.java:851)
    at java.util.HashMap.put(HashMap.java:484)
    at com.google.gwt.dev.jjs.impl.JsFunctionClusterer.updateSourceInfoMap(JsFunctionClusterer.java:234)
    at com.google.gwt.dev.jjs.impl.JsAbstractTextTransformer.recomputeJsAndStatementRanges(JsAbstractTextTransformer.java:132)
    at com.google.gwt.dev.jjs.impl.JsFunctionClusterer.exec(JsFunctionClusterer.java:154)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.generateJavaScriptCode(JavaToJavaScriptCompiler.java:1169)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:506)
    at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:134)
    at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:195)
    at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:49)
    at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:73)
    at java.lang.Thread.run(Thread.java:722)
         [ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...)
      [ERROR] Unrecoverable exception, shutting down
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
    at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:56)
    at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:73)
    at java.lang.Thread.run(Thread.java:722)
      [ERROR] Not all permutation were compiled , completed (0/1)

Before the upgrade all ran like a charme.
So I have done a bunch of tries, googling to find the right Java args, but without success. This is the latest extra args I used:

-Xmx8192m -XX:MaxPermSize=2048m -Dgwt.compiler.localWorkers=1 -XX:+UseCompressedOops -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory

Am I wrong something?
Thanks in advance for any help that could help me to solve this problem.

Eddy

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate