Skip to content

Commit 1a037de

Browse files
authored
Try to workaround the metaspace error (#2183)
* Fork a gradle daemon even more often to try to workaround a MetaSpace error See #2175 (comment) * Fork every test
1 parent ae70dbd commit 1a037de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apollo-gradle-plugin/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ tasks.withType<Test> {
3333
// It's not clear if it's a real ClassLoader leak or something else. The okio timeout thread does hold some ClassLoaders
3434
// for up to 60s. The heap dumps also show some process reaper threads but it might just as well be a temporary thing, not sure.
3535
// See https://github.com/gradle/gradle/issues/8354
36-
setForkEvery(8L)
36+
setForkEvery(1L)
3737
dependsOn(":apollo-api:publishAllPublicationsToPluginTestRepository")
3838
dependsOn(":apollo-compiler:publishAllPublicationsToPluginTestRepository")
3939
dependsOn("publishAllPublicationsToPluginTestRepository")

0 commit comments

Comments
 (0)