[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] increase heap size for jenkins and allocate everything right at the start
Holger Levsen
gitlab at salsa.debian.org
Thu Nov 1 15:29:47 GMT 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
2deb3665 by Holger Levsen at 2018-11-01T15:29:13Z
increase heap size for jenkins and allocate everything right at the start
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- hosts/jenkins/etc/default/jenkins
Changes:
=====================================
hosts/jenkins/etc/default/jenkins
=====================================
@@ -14,10 +14,9 @@ JENKINS_HOME=/var/lib/$NAME
# Allow graphs etc. to work even when an X server is present
JAVA_ARGS="-Djava.awt.headless=true"
-#JAVA_ARGS="-Xmx256m"
#JAVA_ARGS="-Djava.net.preferIPv4Stack=true" # make jenkins listen on IPv4 address
# See some recommendation from https://jenkins.io/blog/2016/11/21/gc-tuning/
-JAVA_ARGS="$JAVA_ARGS -Xms4G -Xmx12G" # heap settings
+JAVA_ARGS="$JAVA_ARGS -Xms20G -Xmx20G" # heap settings
JAVA_ARGS="$JAVA_ARGS -server -XX:+AlwaysPreTouch"
# store heap dumps in case of OOM, to investigate it later
JAVA_ARGS="$JAVA_ARGS -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$JENKINS_HOME/heapDumps/"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2deb36654bcce13b7ded340f101b509f0950343d
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2deb36654bcce13b7ded340f101b509f0950343d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181101/2e2b9191/attachment.html>
More information about the Qa-jenkins-scm
mailing list