[SOLVED] Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-09 Thread E.P.
Hi,
Upgrading to the latest version of the jdk fixed the issue.
It should be interesting if I had reinstalled the same version, I think it 
would have worked too.
Thanks to Cristiano for the tip and to everyone for the help.

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+unsubscr...@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.


Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread E.P.
Hi Cristiano,
I'm using Oracle's 1.7.0_15 64bit.
My Mac has 8 GB and the build system is Gradle 1.7.
I repeat, all worked before the upgrade to Mavericks.
Besides this issue, I had only to install JRE 1.6 to run Intellij IDEA 12 
the first time
after the upgrade.
I think that I tried everything, maybe now I should try something like 
reinstalling the JDK
or make a compatibility check between the components of my application and 
Mavericks.
It's really weird for me.
Thanks anyway,

Eddy


On Tuesday, November 5, 2013 4:32:43 PM UTC+1, Cristiano wrote:
>
> Which JVM are you using? Apple's 1.6 or Oracle's 1.7?
> 32 bit or 64 bit? 
> How much RAM has your mac? 
> What's your build system or IDE?
>
> I have no problem on 2008 mbp with maverick, JDK 1.7 64 bit and 8 Gb ram, 
> Building with maven and coding with Eclipse Kepler
>
>
> [CUT]
>

-- 
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+unsubscr...@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.


Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread E.P.
Hi Jim,
thanks, but I already read the Google results you posted and many more, but 
I still haven't found a fix that works.
I fear that the problem is Mavericks, and something related to the new 
memory management or the JVM.
I'm still investigating on this.
Thanks anyway,

Eddy

On Monday, November 4, 2013 6:47:33 PM UTC+1, Jim Douglas wrote:
>
> 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+unsubscr...@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.


OutOfMemoryError after upgrade to OS X Mavericks

2013-11-04 Thread E.P.
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+unsubscr...@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.