Skip to content

Commit fa6c75a

Browse files
committed
Increase test heap to 1g to fix OOM with large schema tests
The new OverlappingFieldsCanBeMergedBenchmarkTest loads large-schema-4 resources and builds GraphQL instances, which exceeds the default 512MB Gradle test heap. Increasing maxHeapSize to 1g for all test tasks. https://claude.ai/code/session_01MZkhqChmheW6d46H4p8T7Y
1 parent 4f129d9 commit fa6c75a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ long testTime = 0L
372372

373373
tasks.withType(Test) {
374374
useJUnitPlatform()
375+
maxHeapSize = "1g"
375376
testLogging {
376377
events "FAILED", "SKIPPED"
377378
exceptionFormat = "FULL"

0 commit comments

Comments
 (0)