Skip to content

Commit b1386d2

Browse files
authored
Set higher RAM percentage in Docker container (#585)
1 parent c0a30a2 commit b1386d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sbt

+4
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@ lazy val cli = project
318318
env("PATH", "/opt/maven/bin:${PATH}")
319319
env("PATH", "/opt/gradle/bin:${PATH}")
320320
env("PATH", "/root/.local/share/coursier/bin:${PATH}")
321+
env(
322+
"JAVA_TOOL_OPTIONS",
323+
"-XX:MaxRAMPercentage=80.0 -XX:+UseContainerSupport"
324+
)
321325

322326
// Mark all directories as safe for Git, so that it doesn't
323327
// trigger this check and error:

0 commit comments

Comments
 (0)