Tuning Android build nodes for maximum throughput
Wealthfront's Android team tuned Gradle on m7i.8xlarge EC2 Jenkins nodes (32 cores, 128GB) by bounding memory across nested layers: daemon jvmargs, org.gradle.workers.max, test-task maxHeapSize, maxParallelForks and Jenkins executors, whose product must fit in RAM with headroom for the daemon.