Looks like the number of threads being created is using up stack memory.
Try reducing the amount of stack memory allocated to each thread on creation. -Xss depending on what JVM you are using try setting it to minimum.
On 22 Jul 2017 17:46, "Mikhail Krestyaninov" <mikhail.krestjaninoff@gmail.
Hello....I have a very big GWT project which recently has become a bit more bigger. After a new GWT module was added the following error started to occur:
During the compilation process I can see (in Activity Monitor) that the amount of threads for DevMode process raises up to 2K and then the error occurs. As far as I can see, the default limit of threads per process on MacOS ("sysctl kern.num_taskthreads") is 2048 which means that I hit it. Changing Xmx limit (obviously) doesn't solve the problem.I tried to decrease the amount of local workers, but faced the following error:
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 firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.