From 2dc3da13cfa1014f6c2b22e3f26dc8944a5b7973 Mon Sep 17 00:00:00 2001 From: Les Vogel Date: Thu, 16 Feb 2017 14:27:29 -0800 Subject: [PATCH 1/3] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 776a5aaa560..01c08e587fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ before_install: && set +x && source secrets.env && set -x || true - export GOOGLE_CLOUD_PROJECT=java-docs-samples-tests -- export MAVEN_OPTS='-Xmx2048m -XX:+PrintFlagsInitial -XX:+PrintFlagsFinal' +- export MAVEN_OPTS='-Xmx4096m -XX:+PrintFlagsInitial -XX:+PrintFlagsFinal' # Skip the install step, since Maven will download the dependencies we need # when the test build runs. # http://stackoverflow.com/q/31945809/101923 From e861fbb5abd6aec2643849f395b85a5330300ca7 Mon Sep 17 00:00:00 2001 From: Les Vogel Date: Thu, 16 Feb 2017 15:08:29 -0800 Subject: [PATCH 2/3] mx5g ms1g UseGCOverheadLimit UseG1GC --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 01c08e587fb..dcbe9e26416 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ before_install: && set +x && source secrets.env && set -x || true - export GOOGLE_CLOUD_PROJECT=java-docs-samples-tests -- export MAVEN_OPTS='-Xmx4096m -XX:+PrintFlagsInitial -XX:+PrintFlagsFinal' +- export MAVEN_OPTS='-Xmx5g -Xms1g -XX:-UseGCOverheadLimit -XX:+UseG1GC -XX:+PrintFlagsInitial -XX:+PrintFlagsFinal' # Skip the install step, since Maven will download the dependencies we need # when the test build runs. # http://stackoverflow.com/q/31945809/101923 From 9558cdc3b16fdc56a884fac41795333adf203caf Mon Sep 17 00:00:00 2001 From: Les Vogel Date: Thu, 16 Feb 2017 15:28:25 -0800 Subject: [PATCH 3/3] Try 6g -- I suspect this is something else. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dcbe9e26416..f9dbf428c84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ before_install: && set +x && source secrets.env && set -x || true - export GOOGLE_CLOUD_PROJECT=java-docs-samples-tests -- export MAVEN_OPTS='-Xmx5g -Xms1g -XX:-UseGCOverheadLimit -XX:+UseG1GC -XX:+PrintFlagsInitial -XX:+PrintFlagsFinal' +- export MAVEN_OPTS='-Xmx6g -Xms1g -XX:-UseGCOverheadLimit -XX:+UseG1GC -XX:+PrintFlagsInitial -XX:+PrintFlagsFinal' # Skip the install step, since Maven will download the dependencies we need # when the test build runs. # http://stackoverflow.com/q/31945809/101923