summaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorn.christian@seime.no>2017-10-12 11:30:42 +0200
committerGitHub <noreply@github.com>2017-10-12 11:30:42 +0200
commit81152c9630e3752daf1e426d514f57e5ff2b5392 (patch)
treee5bbf907d490f0b89da57abb2455cd5f78ef79c5 /travis
parent4dae8f7765189e999e9c3010ab8b55eea9d3ca40 (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-xtravis/travis-build-java.sh2
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'