diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2017-08-08 13:37:25 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2017-08-08 13:37:25 -0700 |
commit | 30f0d78f0449156ec3cc19607a345adc3e91db7e (patch) | |
tree | 14fc9d657c52240541a6bbdac0c4857e88bea2aa /jjb | |
parent | 39f0d6e542eee42dbdc300df7375e954b1883eb0 (diff) |
Increase Java heap space for Maven job
{subproject}-release-java-daily fails due to a Java
heap space limitation.
Increasing this value as per the suggested resolution:
http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
Change-Id: I174e872eddb9990504ddf251d157d317aa7120c2
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global-templates-java.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index dff878995..21a227b27 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -702,6 +702,8 @@ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' properties: - '{maven-deploy-properties}' + java-opts: + - '-Xmx4096m -XX:MaxPermSize=512m' settings: '{mvn-settings}' settings-type: cfp global-settings: 'global-settings' |