Skip to content

Commit

Permalink
kokoro: Increase gradle mem in android-interop
Browse files Browse the repository at this point in the history
To try to aid failure when building android-interop-testing
```
The Daemon will expire after the build after running out of JVM heap space.
The project memory settings are likely not configured or are configured to an insufficient value.
The daemon will restart for the next build, which may increase subsequent build times.
These settings can be adjusted by setting 'org.gradle.jvmargs' in 'gradle.properties'.
The currently configured max heap space is '512 MiB' and the configured max metaspace is '384 MiB'.
...
Exception in thread "Daemon client event forwarder" java.lang.OutOfMemoryError: Java heap space
...
> Task :grpc-android-interop-testing:mergeDexDebug FAILED
ERROR:D8: java.lang.OutOfMemoryError: Java heap space
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
```
  • Loading branch information
ejona86 committed Feb 14, 2025
1 parent 764a4e3 commit 80d5d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscripts/kokoro/android-interop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -exu -o pipefail

cd github/grpc-java

export GRADLE_OPTS=-Xmx512m
export GRADLE_OPTS=-Xmx1024m
export LDFLAGS=-L/tmp/protobuf/lib
export CXXFLAGS=-I/tmp/protobuf/include
export LD_LIBRARY_PATH=/tmp/protobuf/lib
Expand Down

0 comments on commit 80d5d1a

Please sign in to comment.