Description of problem: We hit the gwt compile out of memory error in MEAD when building kie-wb-distributions. See the following, I also attached the build.log. Compiling permutation 5... DEBUG util.py:257: [INFO] Compiling DEBUG util.py:257: [INFO] Compiling permutation 6... DEBUG util.py:257: [INFO] [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads DEBUG util.py:257: [INFO] java.lang.OutOfMemoryError: GC overhead limit exceeded DEBUG util.py:257: [INFO] at java.util.HashMap.createEntry(HashMap.java:901) DEBUG util.py:257: [INFO] at java.util.HashMap.addEntry(HashMap.java:888) DEBUG util.py:257: [INFO] at java.util.HashMap.put(HashMap.java:509) Version-Release number of selected component (if applicable): We usually can specify JAVA_OPTS in build command, however it not working in this case. I saw the jvmOpts has been hard coded in https://github.com/droolsjbpm/kie-wb-distributions/blob/6.0.x/kie-wb/kie-wb-webapp/pom.xml#L960 By adding a patch to increase -Xmx to -Xmx4096m , the issue disappear. Should we increase that in the source kie-wb-distributions/kie-wb/kie-wb-webapp/pom.xml? How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 842932 [details] build.log
Product now builds, therefore VERIFIED.