3 Replies Latest reply on Jun 2, 2014 11:25 AM by Tim McClure

    KIE Workbench Compile Time Takes over 10 min used to be 4 Min

    Tim McClure Apprentice

      I had to delete my maven repository and now my kie web app compile takes over 10 minutes - used to take 4 minutes.  Hangs in Compiling permutation 1... for most of the time - any ideas?

       

       

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD SUCCESS

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 10:41.008s

      [INFO] Finished at: Wed Apr 09 20:52:25 EDT 2014

      [INFO] Final Memory: 76M/558M

      [INFO] -----------------------------------------------------------------------

        • 1. Re: KIE Workbench Compile Time Takes over 10 min used to be 4 Min
          Tim McClure Apprentice

          Below is the trace output:

           

          INFO] Wrote 1 units to persistent cache.

          [INFO]    Adding '1' new generated units

          [INFO]       Compiling...

          [INFO]          Compilation completed in 0.01 seconds

          [INFO]       Added 1 units to cache since last cleanup.

          [INFO]       Removing invalidated units

          [INFO] Wrote 1 units to persistent cache.

          [INFO]    Adding '2' new generated units

          [INFO]       Compiling...

          [INFO]          Compilation completed in 0.01 seconds

          [INFO]       Added 2 units to cache since last cleanup.

          [INFO]       Removing invalidated units

          [INFO] Wrote 2 units to persistent cache.

          [INFO]    Adding '2' new generated units

          [INFO]       Compiling...

          [INFO]          Compilation completed in 0.02 seconds

          [INFO]       Added 2 units to cache since last cleanup.

          [INFO]       Removing invalidated units

          [INFO] Wrote 2 units to persistent cache.

          [INFO]    Replacing GWT.runAsync with island loader calls

          [INFO]    Looking up initial load sequence for split points

          [INFO]    Compiling 2 permutations

          [INFO]       Creating PermutationWorkerFactory instances

          [INFO]       javaCommand = /usr/lib/jvm/java-7-oracle/jre/bin/java

          [INFO]       Compiling permutation 0...

          [INFO]       Process output

          [INFO]          Compiling

          [INFO]             Compiling permutation 1...

          [INFO]             Creating split point map file for the compile report

          [INFO]             Permutation took 74440 ms

          [INFO]       Creating split point map file for the compile report

          [INFO]       Permutation took 421754 ms

          [INFO]    Compile of permutations succeeded

          • 2. Re: KIE Workbench Compile Time Takes over 10 min used to be 4 Min
            Marco Rietveld Novice

            Yes, this a common complaint for all of us that end up having to compile the workbench. :/

             

            We added the following commits recently (sort of?) in order to fix this.

             

            See this commit:

            https://github.com/droolsjbpm/kie-wb-distributions/commit/f77f57930