hi i am trying to statrt developping an existing fat gwt application, when i try to use mvn clean install to compile in order to start my super dev mode i get out of memory
OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads
and when I increase the heap size linux kills the process because it consumes a lot of memory. i don't know how to decrease the memory usage of gwt, i am just a novice gwt dev and some help would be very appreciated, as i have look all over the internet but nothing helped me, i have spent more than a week, and i can't start dev any thing!!!! my computer has 8G in ram but i believe after os takes its part and some software i belive i remain with some 5G and it is not enough !
UPDATE
when i do this configuration in gwt-maven-plugin:
<extraJvmArgs>-Xms1G -Xmx4G -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory</extraJvmArgs>
i get
OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads
but when i do
**<extraJvmArgs>-Xms1G -Xmx5G -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory</extraJvmArgs>**
i get exit code 137 of linux