Sunday, September 9, 2018

Re: Why the GWT complier used so much memory?

Are there someone working on the optimization of the GWT compiler, it is too slow for us


You can use -localWorkers parameter to adjust how many permutations should be compiled in parallel. The higher the number the more memory is needed. If you use -localWorkers 1 then permutations are compiled one after the other which requires the least amount of memory. You can also use -Xmx JVM parameter to limit the amount of heap used, although this might result in more garbage collects and thus longer compile times.

The only other option is to split a large app into smaller apps.

-- J.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment