diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2017-08-07 14:46:58 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2017-08-07 14:46:58 -0700 |
commit | 6223d1d0c2173268c43949ea6a1d538a29c4f7d0 (patch) | |
tree | 6657ea9d5835db146ee95d025f67283e49279d74 | |
parent | 56de86ca58d621ad6fa657c668c1583d89dead0e (diff) |
Increase Java heap space for Maven job
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: I02096c05723d2a78f7ef6fd259401d3c19d4c65a
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
-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 580d65b36..90c006149 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -423,6 +423,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' |