xds: Allow Gradle to use more memory when building interop - GCE (#9354)

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
This commit is contained in:
Sergii Tkachenko 2022-07-08 19:28:23 -07:00 committed by GitHub
parent fe1cfc9b96
commit d7a6c1ea31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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