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

No. 

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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment