Monday, July 24, 2017

Re: MacOs threads limit during GWT compilation

Yes, looks like this solves my problem. Thanks for your help!

суббота, 22 июля 2017 г., 10:52:28 UTC-7 пользователь Jens написал:
-localWorkers is a parameter of the GWT compiler and defines how many permutations can be compiled in parallel. Since SuperDevMode only compiles a single permutation, decreasing -localWorkers doesn't really make sense because only one worker is used anyways.

The class that creates all theses threads is very likely Java's WatchService which is used by SuperDevMode to watch your files for changes so it can recompile only what is needed. You can disable the usage of Java's WatchService for SuperDevMode by using -Dgwt.watchFileChanges=false. This will cause GWT to fallback to a full directory scan to figure out which files have been changed.

-- 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