Increased memory limit to 3G for java heap on gitlab pipeline builds
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
# This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
|
# This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
|
||||||
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
|
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
|
||||||
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true -Xmx1024m"
|
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true -Xmx3g"
|
||||||
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
|
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
|
||||||
# when running from the command line.
|
# when running from the command line.
|
||||||
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-fast --show-version"
|
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-fast --show-version"
|
||||||
|
|||||||
Reference in New Issue
Block a user