Skip to content

Commit

Permalink
Increase heap memory for compilation, otherwise the code cache overfl…
Browse files Browse the repository at this point in the history
…ows on cross-compile build.
  • Loading branch information
yruslan committed May 6, 2023
1 parent 799dd9e commit 460d412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ThisBuild / organization := "za.co.absa.cobrix"
ThisBuild / scalaVersion := scala213
ThisBuild / crossScalaVersions := Seq(scala211, scala212, scala213)

ThisBuild / Test / javaOptions += "-Xmx2G"
ThisBuild / Test / javaOptions ++= Seq("-Xmx4G", "-XX:ReservedCodeCacheSize=1G")

ThisBuild / javacOptions ++= Seq("-source", "1.8", "-target", "1.8")

Expand Down

0 comments on commit 460d412

Please sign in to comment.