diff options
author | Bjørn Christian Seime <bjorn.christian@seime.no> | 2017-10-12 11:30:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 11:30:42 +0200 |
commit | 81152c9630e3752daf1e426d514f57e5ff2b5392 (patch) | |
tree | e5bbf907d490f0b89da57abb2455cd5f78ef79c5 /travis | |
parent | 4dae8f7765189e999e9c3010ab8b55eea9d3ca40 (diff) |
Increase max heap size for Maven
Some build jobs are now failing because Maven runs out of memory
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/travis-build-java.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/travis/travis-build-java.sh b/travis/travis-build-java.sh index a7b9f425758..0a69e167dba 100755 --- a/travis/travis-build-java.sh +++ b/travis/travis-build-java.sh @@ -6,7 +6,7 @@ SOURCE_DIR=/source NUM_THREADS=4 cd "${SOURCE_DIR}" -export MAVEN_OPTS="-Xms128m -Xmx512m" +export MAVEN_OPTS="-Xms128m -Xmx1g" source /etc/profile.d/devtoolset-6.sh || true sh ./bootstrap.sh java mvn install -nsu -B -T ${NUM_THREADS} -V # Should ideally split out test phase, but some unit tests fails on 'mvn test' |