Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4824

Build fails downloading licenses due to insufficient heap space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Optional
    • 10.0.0.Alpha4
    • 10.0.0.Alpha3
    • Build System
    • None
    • Hide

      Increase the heap. The following is sufficient: MAVEN_OPTS="$MAVEN_OPTS -Xmx1024M"

      Show
      Increase the heap. The following is sufficient: MAVEN_OPTS="$MAVEN_OPTS -Xmx1024M"

    Description

      In our CI cluster we regularly see failures building the feature-pack module due to lack of heap space. Increasing it to 1024 seems to be enough to avoid these intermittent failures. Example output:

      [INFO] --- maven-assembly-plugin:2.5.3:single (assemble) @ wildfly-feature-pack ---
      [INFO] Reading assembly descriptor: assembly.xml
      [INFO] Building zip: /home/mmusgrov/source/forks/narayana/jboss-as/feature-pack/target/wildfly-10.0.0.Alpha3-SNAPSHOT.zip
      [INFO] 
      [INFO] --- license-maven-plugin:1.8:download-licenses (default) @ wildfly-feature-pack ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 07:09 min
      [INFO] Finished at: 2015-06-23T16:21:09+01:00
      [INFO] Final Memory: 60M/399M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Java heap space -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
      

      Attachments

        Activity

          People

            rhn-engineering-mmusgrov Michael Musgrove
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: