CodeServer is using about 500 threads ?

93 views
Skip to first unread message

stuckagain

unread,
Apr 27, 2017, 3:51:48 AM4/27/17
to GWT Contributors

Just wondering, why does the CodeServer allocate 500 threads on my computer ?
Isn't that a bit over the top to host one application that will only server one user once in a while ?

Jens

unread,
Apr 27, 2017, 4:17:17 AM4/27/17
to GWT Contributors
Most likely these are file/directory watcher threads created by Java itself because SDM uses Java's WatchService to detect changes. You can use -Dgwt.watchFileChanges=false to turn it off. GWT will then do a full directory scan to detect changes.

-- J.
Reply all
Reply to author
Forward
0 new messages