Skip to content

Commit 0a1ccc5

Browse files
Increase test JVM heap for in-memory geolocation dataset loading
1 parent f2fc85c commit 0a1ccc5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎build.gradle‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,14 @@ check.dependsOn integrationTest
107107

108108
test {
109109
useJUnitPlatform()
110+
// The geolocation dataset test loads a full .mmdb into heap (LoadingMode.MEMORY),
111+
// which exceeds the Gradle test worker's default heap.
112+
maxHeapSize = '6g'
110113
}
111114

112115
integrationTest {
113116
useJUnitPlatform()
117+
maxHeapSize = '6g'
114118
}
115119

116120
publishing {

0 commit comments

Comments
 (0)