mirror of https://github.com/grpc/grpc-java.git
buildscripts: Fix Xmx JVM flag propagation in GRADLE_OPTS
* buildscripts: Fix Xmx JVM flag propagation in GRADLE_OPTS * buildscripts: double Java memory allocation pool To reduce periodic OOMs of the "GitHub Actions Linux Testing / tests (11) (pull_request)" job.
This commit is contained in:
parent
74137b0978
commit
91fcc33243
|
|
@ -39,7 +39,7 @@ GRADLE_FLAGS+=" -PfailOnWarnings=true"
|
||||||
GRADLE_FLAGS+=" -PerrorProne=true"
|
GRADLE_FLAGS+=" -PerrorProne=true"
|
||||||
GRADLE_FLAGS+=" -PskipAndroid=true"
|
GRADLE_FLAGS+=" -PskipAndroid=true"
|
||||||
GRADLE_FLAGS+=" -Dorg.gradle.parallel=true"
|
GRADLE_FLAGS+=" -Dorg.gradle.parallel=true"
|
||||||
export GRADLE_OPTS="-Xmx512m"
|
export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx1g'"
|
||||||
|
|
||||||
# Make protobuf discoverable by :grpc-compiler
|
# Make protobuf discoverable by :grpc-compiler
|
||||||
export LD_LIBRARY_PATH=/tmp/protobuf/lib
|
export LD_LIBRARY_PATH=/tmp/protobuf/lib
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue