From 1300acd867a8154580d30807cbd8683a4bd6b8e4 Mon Sep 17 00:00:00 2001 From: dotasek Date: Wed, 29 Mar 2023 14:30:27 -0400 Subject: [PATCH] Balance heap space between maven and surefire (#1195) --- master-branch-pipeline.yml | 4 ++-- pom.xml | 2 +- pull-request-pipeline-parameterized.yml | 4 ++-- pull-request-pipeline.yml | 2 +- release-branch-pipeline.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/master-branch-pipeline.yml b/master-branch-pipeline.yml index 9378abb2d..936ced5c1 100644 --- a/master-branch-pipeline.yml +++ b/master-branch-pipeline.yml @@ -90,7 +90,7 @@ steps: jdkVersionOption: '1.11' jdkArchitectureOption: 'x64' options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -pl "!org.hl7.fhir.report, !org.hl7.fhir.validation.cli" -DdeployToSonatype' - mavenOptions: '-Xmx4096m' + mavenOptions: '-Xmx768m' publishJUnitResults: false # Deploy the SNAPSHOT artifact to GitHub packages. @@ -104,5 +104,5 @@ steps: jdkVersionOption: '1.11' jdkArchitectureOption: 'x64' options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -pl "!org.hl7.fhir.report, !org.hl7.fhir.validation.cli" -Dmaven.test.skip -DdeployToGitHub' - mavenOptions: '-Xmx4096m' + mavenOptions: '-Xmx768m' publishJUnitResults: false diff --git a/pom.xml b/pom.xml index aaface2c5..6dd3201a4 100644 --- a/pom.xml +++ b/pom.xml @@ -453,7 +453,7 @@ - ${argLine} -Xmx4096m + ${argLine} -Xmx5632m COMPAT diff --git a/pull-request-pipeline-parameterized.yml b/pull-request-pipeline-parameterized.yml index b6efa83de..4eb4237c2 100644 --- a/pull-request-pipeline-parameterized.yml +++ b/pull-request-pipeline-parameterized.yml @@ -24,7 +24,7 @@ jobs: inputs: mavenPomFile: 'pom.xml' options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)' - mavenOptions: '-Xmx4096m' + mavenOptions: '-Xmx768m' javaHomeOption: 'JDKVersion' jdkVersionOption: '${{image.jdkVersion}}' jdkArchitectureOption: 'x64' @@ -35,7 +35,7 @@ jobs: - task: Maven@3 inputs: mavenPomFile: 'pom.xml' - mavenOptions: '-Xmx4096m' + mavenOptions: '-Xmx768m' javaHomeOption: 'JDKVersion' jdkVersionOption: '${{image.jdkVersion}}' jdkArchitectureOption: 'x64' diff --git a/pull-request-pipeline.yml b/pull-request-pipeline.yml index 9243c9429..82225d569 100644 --- a/pull-request-pipeline.yml +++ b/pull-request-pipeline.yml @@ -29,7 +29,7 @@ jobs: inputs: mavenPomFile: 'pom.xml' options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)' - mavenOptions: '-Xmx3072m' + mavenOptions: '-Xmx768m' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.11' jdkArchitectureOption: 'x64' diff --git a/release-branch-pipeline.yml b/release-branch-pipeline.yml index a4eb394db..df83925ae 100644 --- a/release-branch-pipeline.yml +++ b/release-branch-pipeline.yml @@ -127,7 +127,7 @@ jobs: - task: Maven@3 inputs: mavenPomFile: 'pom.xml' - mavenOptions: '-Xmx4096m' + mavenOptions: '-Xmx768m' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.11' jdkArchitectureOption: 'x64'