You might need to increase the heap size. JDT still uses more memory under
Java 8 which is the source level that is currently supported by GWT (try
-Xmx3g or  -Xmx4g).

On Thu, Aug 4, 2016 at 11:27 AM, Mark Duesbury <mark.duesb...@defcloud.com>
wrote:

> Hi .. Thanks for the rc...
>
> I have been struggling for a while now with a java.lang.OutOfMemoryError:
> GC overhead limit exceeded error on compilation since switching to GWT
> 2.8.0 beta1. I thought and hoped the problem would be solved with the
> release of the RC, but it hasn't. I have searched high and low on
> stackoverflow and elsewhere and tried just about every combination of jvm
> settings I could find.. but nothing works. I dont think my project is that
> large with 215 source files.
>
> The last settings I tried were...
>
> <executions>
>
> <execution>
>
>             <configuration>
>
> <localWorkers>4</localWorkers>
>
>   <extraJvmArgs>-Xmx2g -Xms1g -Xss1024k</extraJvmArgs>
>
>                   <draftcompile>true</draftcompile>
>
>             </configuration>
>
> <goals>
>
> <goal>compile</goal>
>
> </goals>
>
> </execution>
>
> </executions>
>
>
> The error occurs at different points in the compile cycle... A few samples
> are shown below...
>
> [ERROR] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead
> limit exceeded
>
> [ERROR] at org.eclipse.jdt.internal.compiler.lookup.BoundSet.<init>(
> BoundSet.java:308)
>
> [ERROR] at org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.
> createInitialBoundSet(InferenceContext18.java:230)
>
> [ERROR] at org.eclipse.jdt.internal.compiler.lookup.
> ConstraintExpressionFormula.inferInvocationApplicability(C
> onstraintExpressionFormula.java:336)
>
> [ERROR] at org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.
> inferInvocationApplicability(InferenceContext18.java:370)
>
> [ERROR] at org.eclipse.jdt.internal.compiler.lookup.
> ParameterizedGenericMethodBinding.computeCompatibleMethod18(
> ParameterizedGenericMethodBinding.java:233)
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-web-toolkit-contributors/1c185f70-edf4-
> 4e54-9cfe-48b7908d54ba%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/1c185f70-edf4-4e54-9cfe-48b7908d54ba%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAC7T7g%3Dx45KNani6eccA9MUejj%2BGNOOPcduVaf%3D-Gx9b0fQxhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to