Ivan CLOVIS Canet
12/27/2025, 4:21 PMorg.gradle.jvmargs=-Xmx4g -Xms200m …
which does give 4GB of RAM to the Gradle daemon (GradleDaemon) but the one failing is the test worker (GradleWorkerMain). How can I increase its heap space?Ivan CLOVIS Canet
12/27/2025, 4:32 PMtasks.withType<Test> {
maxHeapSize = "4g"
}Caleb Cushing
12/28/2025, 5:12 PM.configureEach instead of the style you used so that your configuration is done lazily
tasks.withType<Test>().configureEach {
jvmArgs("-XX:+EnableDynamicAgentLoading")