Skip to content

Commit

Permalink
Define custom jvm options to forked jvms for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Sep 1, 2023
1 parent 2f0e758 commit 201dffd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,13 @@ lazy val compilation = {

lazy val testing = Seq(
Test / fork := true,
concurrentRestrictions := Seq(Tags.limit(Tags.ForkedTestGroup, 4))
concurrentRestrictions := Seq(Tags.limit(Tags.ForkedTestGroup, 2)),
Test / javaOptions ++= Seq(
"-Xmx6G",
"-Xss16m",
"-XX: MaxMetaspaceSize=2G",
"-XX:-UseGCOverheadLimit"
)
)

lazy val coverage = Seq(
Expand Down

0 comments on commit 201dffd

Please sign in to comment.