Tuesday, November 22, 2016

gwt.watchFileChanges

Hi there,

I just switched to 2.8 on a major GWT project. I am using Eclipse on MacOS.

As soon as I start running the application, I get a 

java.lang.OutOfMemoryError: unable to create new native thread


I had a look at the threads using jProfiler and saw that the number of threads during startup increased very quickly.

GWT seems to create a Thread for each file that needs to be "monitored".
As soon as I turn off "watchFileChanges", the application starts in SDM properly.

I managed to get it working by setting

-Dgwt.watchFileChanges=false

in the command line.

It has been on a thread before: https://groups.google.com/d/msg/Google-Web-Toolkit-Contributors/3skc7sbbp2g/EQrbUP79CgAJ

It works without "watchFileChanges", but what does it mean for development?

brgds,


Papick


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