Skip to content

Commit 2ba8398

Browse files
Add local Gradle daemon and parallelism tuning
Enables parallel projects, a bounded worker pool, and a larger daemon heap so concurrent compilation and test forks (see the conformance test worker-isolation fix) have enough headroom. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TtiGhPTwQoK8CQkf7yffVm
1 parent 42af61f commit 2ba8398

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

gradle.properties

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Allow independent projects and tasks to run concurrently.
2+
org.gradle.parallel=true
3+
4+
# Keep enough workers available for concurrent compilation and test forks.
5+
org.gradle.workers.max=20
6+
7+
# Reuse the Gradle daemon between invocations.
8+
org.gradle.daemon=true
9+
10+
# Give concurrent work enough heap while retaining a bounded worker pool.
11+
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError

0 commit comments

Comments
 (0)