Skip to content

Commit

Permalink
tests: Raise max heap size to avoid out of memory errors
Browse files Browse the repository at this point in the history
  • Loading branch information
handymenny committed Oct 1, 2024
1 parent 938d815 commit c886da0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import com.diffplug.spotless.LineEnding
import java.util.*
import org.gradle.api.tasks.testing.logging.*

plugins {
val kotlinVersion = "2.0.20"
Expand Down Expand Up @@ -82,6 +83,8 @@ tasks {
useJUnitPlatform()
// generate kover report
finalizedBy(named("koverXmlReport"))
// Raise max heap size to 1G (default 512 MB)
maxHeapSize = "128m"
}

shadowJar {
Expand Down

0 comments on commit c886da0

Please sign in to comment.