[jboss-jira] [JBoss JIRA] (WFLY-4824) Build fails downloading licenses due to insufficient heap space
Tomaz Cerar (JIRA)
issues at jboss.org
Tue Jun 23 11:48:02 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082934#comment-13082934 ]
Tomaz Cerar commented on WFLY-4824:
-----------------------------------
there is noting we can do about it. Maven heap size is external configuration and as such you should always control it.
we so have build.sh / build.bat scripts that set this, but that is as much as we can do.
On other hand, are you building wildfly with -Prelease? as that is the only reason why license plugin would kick in.
you could also add -Dlicense.skipDownloadLicenses=true to your build to skip downloading licenses.
> Build fails downloading licenses due to insufficient heap space
> ---------------------------------------------------------------
>
> Key: WFLY-4824
> URL: https://issues.jboss.org/browse/WFLY-4824
> Project: WildFly
> Issue Type: Bug
> Components: Build System
> Affects Versions: 10.0.0.Alpha3
> Reporter: Michael Musgrove
> Assignee: Paul Gier
>
> 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:
> {code}
> [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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list