GWT JVM compilation failed

I am trying to compile a relatively simple GWT 2.5.0 client application under JDK 7u7.

The project works great in development mode. I also remember that he compiled ok on another machine a while ago. (It had GWT 2.4 and some JDK 7, and I transferred my GWT 2.5 project, creating a new new GWT project on a new machine and copying the old sources to the new src directory. I’m sure everything went well at this point, as " Development mode "works fine even after clearing the project / cache).

The GWT Eclipse plugin is the latest (installed from the update site for my Indigo yesterday).

I tried with / without "-localWorkers 2", as well as with different memory settings ("-Xmx512m", "-Xmx2048m"). I tried to use different output styles (obfuscation, detailed) and different levels of logs (for example, he could change something :)). I even tried "-draftCompile" - without success.

In any case, in each case, compilation stops after a few seconds with a JVM failure message, on C functions such as memcpy (!) Or some internal JVM functions.

JVM trace file: http://pastebin.com/KzTrQqw7 GWT logs at debug level: http://pastebin.com/yQZHi4Am

Any ideas why this could happen to me?

+6
source share
2 answers

Well, it turns out that you can compile GWT with JDK7 only occasionally (I even tried to create a new, empty, sample project, "GreetingService" alone - it also crashed into my configuration).

But with JDK6, everything is going well, loans Anders R. Bystrup.

0
source

I did not use JDK 7, but I usually increase the JVM stack size to 4M

-Xss4M 
0
source

All Articles