Hi,
We are having a quite big project, every thing was going in control but from last few days our GWT project is crashing while building WAR (with error out of memory).
"Compiling module project2.Project2
Validating units:
Ignored 12 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Compiling 1 permutation
Compiling permutation 0...
[ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads
java.lang.OutOfMemoryError: Java heap space"
System (PC) configuration on which we are building WAR is:
OS = WINDOWS SERVER 2019
PROCESSOR = XEON (R) CPU E3-1225 V5 @ 3.3Ghz
CORE = 4
RAM = 64GB
HARD DISK = HDD
C (OS drive) = 203GB free of 243GB
E (drive) = 501GB free of 642GB
F (drive) = 467GB free of 976GB
rest please find the PC images attached.
GWT build configuration is:
gwt.module=project1.Project1 project2.Project2
gwt.output.dir=/org.yournamehere.Main
gwt.compiler.output.style=OBFUSCATED
gwt.compiler.jvmargs=-Xmx61440m
gwt.compiler.local.workers=1
gwt.compiler.logLevel=INFO
gwt.shell.output.style=OBFUSCATED
gwt.shell.logLevel=TRACE
gwt.shell.jvmargs=-Xmx61440m
gwt.shell.java=
gwt.version=2.6
gwt.shell.code.server.port=9997
gwt.shell.port=8888
rest please find the gwt.properties file attached.
WAR file info:
*.WAR (Size on disk) = 577MB
project1.Project1
*.gwt.rpc (count) = 1
*.gwt.rpc (size) = 8kb
*.cache.html (size) = 335kb
*.nocache.js = 6kb
project2.Project2
*.gwt.rpc (count) = 876
*.gwt.rpc (size) = 9.76MB
*.gwt.rpc (max) = 19kb - 11kb (158 files), 10kb - 8kb (718 files)
*.cache.html (size) = 1713kb
*.nocache.js = 6kb
deferredjs\4D7A0074D70FA749A45BC16CDEAAFFE3\*.cache.js (count) = 856
deferredjs\4D7A0074D70FA749A45BC16CDEAAFFE3\*.cache.js (size) = 28.6MB
deferredjs\4D7A0074D70FA749A45BC16CDEAAFFE3\*.cache.js (max) = 4043kb(1 file), 446kb - 101kb (38 files), 98kb - 1kb (817 files).
WE REQUEST TO ALL PLEASE HELP! AS DELIVERY OF THE WAR IS REQUIRED ON URGENT BASIS.