This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new dcb178f68 fix(ci): increase Android Gradle memory (#3980)
dcb178f68 is described below
commit dcb178f686ebd0bad9bac022fc774003332607d2
Author: Shawn Yang <[email protected]>
AuthorDate: Tue Aug 25 19:41:17 2026 +0800
fix(ci): increase Android Gradle memory (#3980)
## Why?
The Android API 36 instrumented-test job failed twice while Gradle ran
the
release-minified task graph. The daemon inherited Gradle's 512 MiB heap
and
384 MiB metaspace defaults and terminated with a heap OOM in
`lintVitalAnalyzeRelease`. A preceding successful run also reported
exhausting
the configured metaspace, so the job was already operating at the limit.
## What does this PR do?
Configure the Android integration-test project's Gradle daemon with a 2
GiB
heap and 1 GiB metaspace. The setting applies consistently to the
documented
local commands and both Android CI API levels without changing the task
graph,
release minification, lint, or instrumentation coverage.
## Related issues
- Fixes the failure in
https://github.com/apache/fory/actions/runs/32837053667/job/97782748986
## Does this PR introduce any user-facing change?
No.
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
N/A. This only changes the Gradle daemon memory available to the Android
integration-test fixture.
---
integration_tests/android_tests/gradle.properties | 1 +
1 file changed, 1 insertion(+)
diff --git a/integration_tests/android_tests/gradle.properties
b/integration_tests/android_tests/gradle.properties
index 93b4b897d..e1a460756 100644
--- a/integration_tests/android_tests/gradle.properties
+++ b/integration_tests/android_tests/gradle.properties
@@ -16,3 +16,4 @@
# under the License.
android.useAndroidX=true
+org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]