Skip to content

Commit 3429dcf

Browse files
committed
Allocate much more ram to the Pod on Jenkins
I think with some of the recent changes (Tycho 4, API baselines, maybe even new dependency on Platform M3) it may be that our memory requirements have gone up substantially for the build. Also, with Sonar in the works that also requires more memory. Therefore see if the EF's JIPP infra will allocate 10G of ram to our build. This should fix all the "Killed" messages randomly in the CDT builds. https://wiki.eclipse.org/Jenkins#What_is_killing_my_build.3F_I.27m_using_custom_containers.21
1 parent 3240494 commit 3429dcf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pipeline {
2222
steps {
2323
container('cdt') {
2424
timeout(activity: true, time: 30) {
25-
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=85.0 -XX:+PrintFlagsFinal']) {
25+
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=50.0 -XX:+PrintFlagsFinal']) {
2626
sh 'MVN="/jipp/tools/apache-maven/latest/bin/mvn -Dmaven.repo.local=/home/jenkins/.m2/repository \
2727
--settings /home/jenkins/.m2/settings.xml" ./releng/scripts/check_code_cleanliness_only.sh'
2828
}
@@ -34,7 +34,7 @@ pipeline {
3434
steps {
3535
container('cdt') {
3636
timeout(activity: true, time: 20) {
37-
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=85.0 -XX:+PrintFlagsFinal']) {
37+
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=50.0 -XX:+PrintFlagsFinal']) {
3838
withCredentials([string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')]) {
3939
sh '''/jipp/tools/apache-maven/latest/bin/mvn \
4040
clean verify -B -V \

jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ spec:
88
args: ["/bin/sh", "-c", "/home/vnc/.vnc/xstartup.sh && cat"]
99
resources:
1010
requests:
11-
memory: "2662Mi"
11+
memory: "10000Mi"
1212
cpu: "1"
1313
limits:
14-
memory: "2662Mi"
14+
memory: "10000Mi"
1515
cpu: "1"
1616
volumeMounts:
1717
- name: settings-xml

0 commit comments

Comments
 (0)