We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf7ed3 commit d58d90bCopy full SHA for d58d90b
2 files changed
.github/workflows/ci.yml
@@ -153,6 +153,9 @@ jobs:
153
154
android-sample:
155
runs-on: ubuntu-latest
156
+ env:
157
+ # PackageAndroidArtifact$IncrementalSplitterRunnable often OOMs with default heap
158
+ GRADLE_OPTS: -Xmx4096m -XX:MaxMetaspaceSize=512m
159
steps:
160
- uses: actions/checkout@v4
161
- name: Set up JDK 21
gradle.properties
@@ -5,8 +5,8 @@
5
# For local development, configure JAVA_HOME in your IDE or environment
6
# org.gradle.java.home=/path/to/java/home
7
8
-# JVM options
9
-org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# JVM options (4GB for AGP packageDebug/IncrementalSplitterRunnable in CI; 2GB was OOM)
+org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8
10
11
# Enable Gradle daemon for faster builds
12
org.gradle.daemon=true
0 commit comments