GWT dev mode unusably slow on MacOSX 10.6.4 SnowLeopard MacBook Pro
We've got a large GWT based project, and all of the other devs here have no problem launching GWT dev mode from IDEA 9.0.3 in just a few minutes. It takes more than an hour to launch on my machine, and I've only a smoking gun to point to for reasons.
First, specs:
Model Name: MacBook Pro
Model Identifier: MacBookPro6,2
Processor Name: Intel Core i7
Processor Speed: 2.66 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache (per core): 256 KB
L3 Cache: 4 MB
Memory: 8 GB
Processor Interconnect Speed: 4.8 GT/s
Boot ROM Version: MBP61.0057.B0A
SMC Version (system): 1.58f16
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
IntelliJ Build #IU-95.429
The smoking gun is that inspecting the Development Mode process in Activity Monitor shows the following statistics after taking an hour to launch:
Threads: 37
Ports: 379
CPU Time: 1:03:02:17
Context Switches: 2621536
Faults:
Page Ins: 2478
Mach Messages In: 387677
Mach Messages Out 79449761
Mach System Calls:158953667
Unix System Calls: 429777
Another developer launching in the same way on their machine has ~32k mach system calls vs. the 159m on my machine.
I've monitored the memory usage, disk usage, etc, and all are good. the process is launched with -Xmx1024m -Xms512m so there should be enough memory for the process.
Any suggestions on what's wrong, and how to fix it?
Please sign in to leave a comment.
Does the problem reproduce if you start GWT Dev Mode from the command line?
>
>
>
>
>
>
>
>
>
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"