summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-08-01 22:18:27 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-08-08 12:12:00 +0000
commit81bc4da55955e0bc1d2b202d9b8ac25fb677c085 (patch)
tree7efe2c169bd6e1be022709bfe9621f26f456f65d /per-service
parentf3bc4a1cfd199d42e3d155f4e68243f91876aa37 (diff)
downloadansible-playbooks-81bc4da55955e0bc1d2b202d9b8ac25fb677c085.tar.gz
jenkins: Add -XX:MaxPermSize=128M java option.
Following errors of "java.lang.OutOfMemoryError: PermGen space". The default is supposed to be 64M. This is a stopgap measure, we should stay alerted on this issue, as one of the causes of these error is classloading leaks. Change-Id: I6febf995d9d539f427c4a57f00845bcdef148aa7 Reviewed-on: https://review.linaro.org/13555 Reviewed-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml b/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
index 9183108..af7d384 100644
--- a/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
+++ b/per-service/jenkins/roles/jenkins/tasks/jenkins-pkgs.yml
@@ -48,5 +48,5 @@
# org.jenkinsci.plugins.gitclient.Git.timeOut set here as a
# workaround for https://storyboard.openstack.org/#!/story/2000372
lineinfile: regexp="^JAVA_ARGS="
- line="JAVA_ARGS=\"-Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000\""
+ line="JAVA_ARGS=\"-XX:MaxPermSize=128M -Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=500000\""
dest=/etc/default/jenkins backup=yes