Skip to content

Commit

Permalink
changed js max memory size
Browse files Browse the repository at this point in the history
  • Loading branch information
hnaderi committed Nov 3, 2022
1 parent f4d624c commit 010a3d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
-Xms1G
-Xmx6G
-Xss2M
-Xmx7G
-XX:ReservedCodeCacheSize=512M
-XX:+TieredCompilation
-XX:+UseG1GC
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ ThisBuild / scalaVersion := scala212
ThisBuild / crossScalaVersions := supportScalaVersions
ThisBuild / githubWorkflowJavaVersions := Seq(PrimaryJava, LTSJava)
ThisBuild / kubernetesVersion := "1.25.3"
ThisBuild / jsEnv := {
import org.scalajs.jsenv.nodejs.NodeJSEnv
new NodeJSEnv(NodeJSEnv.Config().withArgs(List("--max-old-space-size=6144")))
}

enablePlugins(AutomateHeaderPlugin)

Expand Down

0 comments on commit 010a3d3

Please sign in to comment.