From 9d881f3ee23ddbf86a1c4919f0241961890c20f9 Mon Sep 17 00:00:00 2001 From: Les Vogel Date: Fri, 17 Feb 2017 13:59:16 -0800 Subject: [PATCH] Give Maven a bit more memory --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index bdf2e33a92e..9c72ab75a47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,6 +44,8 @@ before_install: || true # Cross project - GOOGLE_APPLICATION_CREDENTIALS uses cloud-docs-tests, but BQ uses G_C_P (argh!) - export GOOGLE_CLOUD_PROJECT=java-docs-samples-tests +# Give Maven a bit more memory +- export MAVEN_OPTS='-XX:+PrintFlagsFinal -Xmx2g' # Skip the install step, since Maven will download the dependencies we need # when the test build runs. # http://stackoverflow.com/q/31945809/101923