Configure GWT compiler to use less memory?

I am trying to create a large Maven-GWT project on a virtual host that has limited RAM and cannot use swap space.

At the GWT compilation stage (where it computes the permutations), a huge amount of CPU and memory is used, and I was wondering if it was possible in any way to impose a limit on how many of them it used, even if it took a lot longer to compile.

thank

+3
source share
1 answer

, - . . , . xmx , , OOME . , 256 , 128 .

-Dgwt-plugin.localWorkers="1" -Dgwt-plugin.extraJvmArgs="-Xmx128m -Xms16m" MAVEN_OPTS , .

+5

Source: https://habr.com/ru/post/1792478/


All Articles