0

At the moment gwt development mode is extremely slow when preparing the page and while actually using my application. If i compile and run using runjettyrun everything works at a satisfactory speed but with gwt everything is very slow. I have tried forcing gwt to compile only for gecko1_8 but it's not much help. What else can i try?

osh
  • 1,191
  • 4
  • 13
  • 21
  • Have you looked at http://stackoverflow.com/q/2897601/116472, http://stackoverflow.com/q/4069437/116472 and http://stackoverflow.com/q/9047686/116472 ? – Thomas Broyer Jun 19 '13 at 14:54
  • This comes in a little late but i think it might have something to do with the inherits tag in my gwt.xml that points smartgwt packages – osh Jun 28 '13 at 17:37
  • Have you found a solution to your problem? I'm experiencing the same issue with smartgwt. – Davey Chu Nov 12 '14 at 10:22

2 Answers2

1

The dev mode is slow because your code is compiled on the fly by the code server.

Did you try to use super-dev-mode instead? With super-dev-mode, the code is compiled before you access it with only the permutation corresponding to the browser and locale you are using.

Arnaud Denoyelle
  • 29,980
  • 16
  • 92
  • 148
  • isn't that in the experimental phase? – osh Jun 19 '13 at 12:27
  • Yes, it is : `Super Dev Mode is an experimental replacement for GWT's Development Mode`. But I use it everyday and it works perfectly : you won't want to use dev mode anymore :) The only drawback is that in case of error, you don't have a clear stacktrace. In this case, just fallback to dev mode to fix the bug. – Arnaud Denoyelle Jun 19 '13 at 12:34
  • I use it with chrome every day. I just tried with FF and it works like a charm. – Arnaud Denoyelle Jun 19 '13 at 13:29
  • @ArnaudDenoyelle True, I also had to fallback to dev mode to fix a bug. So I just stick with Dev mode, but it is so slow... – quarks Feb 12 '14 at 16:40
0

Using the G1GC garbage collector made a big difference for me on OSX.