From e02a7720ab85fd80e878e33f8fc600ca7ad31dc8 Mon Sep 17 00:00:00 2001 From: Brian Yencho Date: Mon, 5 Feb 2024 12:11:55 -0600 Subject: [PATCH] Use parallel garbage collection in tests (#950) --- app/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9fcae3d75b..8cc979edbc 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -276,8 +276,9 @@ tasks { withType { useJUnitPlatform() - maxHeapSize = "4g" + maxHeapSize = "2g" maxParallelForks = Runtime.getRuntime().availableProcessors() + jvmArgs = jvmArgs.orEmpty() + "-XX:+UseParallelGC" } }