Skip to content

Commit

Permalink
Increment max Metaspace size.
Browse files Browse the repository at this point in the history
  • Loading branch information
voidzcy committed Sep 18, 2020
1 parent e9021f0 commit ff534be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscripts/kokoro/android.sh
Expand Up @@ -19,7 +19,7 @@ cat <<EOF >> gradle.properties
# defaults to -Xmx512m -XX:MaxMetaspaceSize=256m
# https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory
# Increased due to java.lang.OutOfMemoryError: Metaspace failures
org.gradle.jvmargs=-Xmx512m -XX:MaxMetaspaceSize=512m
org.gradle.jvmargs=-Xmx512m -XX:MaxMetaspaceSize=2g
EOF

echo y | ${ANDROID_HOME}/tools/bin/sdkmanager "build-tools;28.0.3"
Expand Down

0 comments on commit ff534be

Please sign in to comment.