Cannot add "-localWorkers" to GWT Compiler when using Eclipse?
1,149 views
Skip to first unread message
Edson Richter
unread,
May 19, 2012, 6:53:31 PM5/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi,
I've GWT 2.4.0 installed in Eclipse Indigo. Everything works fine,
except that when I add "-localWorkers 4" into compilation
configuration, I get the error described below.
Compiling module MyComponent
Compiling 2 permutations
Compiling permutation 0...
Process output
[ERROR] Could not create the Java virtual machine.
[ERROR] Unknown option or illegal argument: -logLevel.
[ERROR] Please check for incorrect spelling or review
documentation of startup options.
[ERROR]
Compiling permutation 1...
Compile of permutations succeeded
Linking into C:\Users\richter\workspace\...\MyComponent; Writing
extras to C:\Users\richter\workspace\...\extra\MyComponent
Link succeeded
Compilation succeeded -- 108,368s
And system stay calculating permutations on only one thread (my
machine has 8 physical cores, and only one is active during
compilation).
Can someone help me?
Edson Richter
unread,
May 19, 2012, 7:01:15 PM5/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Sorry for answering my own question. I've found that I need to add the
following to my VM arguments:
Gain about 40% on compilation with 4 workers on 8 core machine ;-)
Edson.
Roger Studner
unread,
May 19, 2012, 7:07:16 PM5/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
is thre any documentation out there, other than a really weak javadoc for the ThreadPermutationWorkerFactory that describes what this is/why it works (or doesn't) etc?