Skip to content

Commit

Permalink
midpoint-main-generic-pg-pipeline: Xmx8g, RAM 10g (was 6/8)
Browse files Browse the repository at this point in the history
This may help with slower builds, at least we hope.
  • Loading branch information
virgo47 committed Apr 4, 2023
1 parent 6c4809e commit 01a7d9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/jenkins/midpoint-main-generic-pg-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ podTemplate(
command: 'cat',
resourceRequestCpu: params.BUILDER_CPU ?: '4',
resourceLimitCpu: params.BUILDER_CPU ?: '4',
resourceRequestMemory: '8Gi',
resourceLimitMemory: '8Gi') // see also -Xmx flag lower
resourceRequestMemory: '10Gi',
resourceLimitMemory: '10Gi') // see also -Xmx flag lower
]
) {
node(POD_LABEL) {
Expand Down Expand Up @@ -89,7 +89,7 @@ podTemplate(
}
stage("tests-extra") {
container('maven') {
// -Xmx6g should fit into 8GB of RAM, 4g is on the edge for some tests
// -Xmx8g should fit into 10GB of RAM, 4g is not enough for some tests
sh """#!/bin/bash -ex
if [ "${verbose}" -ge 1 ]
then
Expand All @@ -103,7 +103,7 @@ podTemplate(
-Dmidpoint.repository.driverClassName=org.postgresql.Driver \
-Dmidpoint.repository.hibernateHbm2ddl=validate \
-Dmidpoint.repository.hibernateDialect=com.evolveum.midpoint.repo.sql.util.MidPointPostgreSQLDialect \
-Dfailsafe.args="-Xms2g -Xmx6g -Duser.language=en --add-exports java.management/sun.management=ALL-UNNAMED"
-Dfailsafe.args="-Xms2g -Xmx8g -Duser.language=en --add-exports java.management/sun.management=ALL-UNNAMED"

if [ "${verbose}" -ge 1 ]
then
Expand Down

0 comments on commit 01a7d9d

Please sign in to comment.