Skip to content

Commit

Permalink
xds: Allow Gradle to use more memory when building interop - GCE (#9354)
Browse files Browse the repository at this point in the history
Same as #9347, but for GCE framework too (xds and xds_v3 jobs).

Should fix "Expiring Daemon because JVM heap space is exhausted".

PR #9269 probably pushed the build
over the edge, but there's been evidence via flakes for a good while
that we've been reaching the limit.

b/238334438
  • Loading branch information
sergiitk committed Jul 9, 2022
1 parent fe1cfc9 commit d7a6c1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildscripts/kokoro/xds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ fi
cd github

pushd grpc-java/interop-testing
../gradlew installDist -x test -PskipCodegen=true -PskipAndroid=true
GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx1g'" \
../gradlew installDist -x test -PskipCodegen=true -PskipAndroid=true
popd

git clone -b master --single-branch --depth=1 https://github.com/grpc/grpc.git
Expand Down

0 comments on commit d7a6c1e

Please sign in to comment.