Did you manage to compile GWT application with maven build with increased memory. I am having similar issue and not able to compile GWT project.
I have 64 bit Windows OS and 8 GB RAM. At the moment ,I use devmode to deploy GWT project which takes around 30 min in Jetty and for every small change we have to repeat this exercise again. We waste around 3-4 hours in building GWT application everyday, quite frustrating for a developer!! GWT version 2.5.1
I am looking for a solution on how to compile GWT project. I have tried all different setting in my pom.xml i.e.
<disableCastChecking>true</disableCastChecking>
<disableClassMetadata>true</disableClassMetadata>
<enableClosureCompiler>true</enableClosureCompiler>
<draftCompile>true</draftCompile>
<localWorkers>2</localWorkers>
<soyc>false</soyc>
<optimizationLevel>6</optimizationLevel>
<extraJvmArgs>-XX:MaxPermSize=512m -Xms768m -Xmx2048m -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory -XX:+UseConcMarkSweepGC -server</extraJvmArgs>
Still no luck !! I would be really grateful if somebody could help here! Regards, Subodh