From bc4a76f1ad81002c9cb307ddf3ea3466f14c4a5d Mon Sep 17 00:00:00 2001 From: dotasek Date: Fri, 17 Mar 2023 14:06:42 -0400 Subject: [PATCH] Bump Maven memory heap (#1174) * Bump maven heap by 1G * Real numbers this time. --- master-branch-pipeline.yml | 2 ++ pull-request-pipeline-parameterized.yml | 4 ++-- pull-request-pipeline.yml | 2 +- release-branch-pipeline.yml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/master-branch-pipeline.yml b/master-branch-pipeline.yml index 1c72dc303..9378abb2d 100644 --- a/master-branch-pipeline.yml +++ b/master-branch-pipeline.yml @@ -90,6 +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' publishJUnitResults: false # Deploy the SNAPSHOT artifact to GitHub packages. @@ -103,4 +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' publishJUnitResults: false diff --git a/pull-request-pipeline-parameterized.yml b/pull-request-pipeline-parameterized.yml index e283de225..b6efa83de 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: '-Xmx3072m' + mavenOptions: '-Xmx4096m' javaHomeOption: 'JDKVersion' jdkVersionOption: '${{image.jdkVersion}}' jdkArchitectureOption: 'x64' @@ -35,7 +35,7 @@ jobs: - task: Maven@3 inputs: mavenPomFile: 'pom.xml' - mavenOptions: '-Xmx3072m' + mavenOptions: '-Xmx4096m' javaHomeOption: 'JDKVersion' jdkVersionOption: '${{image.jdkVersion}}' jdkArchitectureOption: 'x64' diff --git a/pull-request-pipeline.yml b/pull-request-pipeline.yml index c5df1978f..9243c9429 100644 --- a/pull-request-pipeline.yml +++ b/pull-request-pipeline.yml @@ -39,7 +39,7 @@ jobs: inputs: mavenPomFile: 'pom.xml' options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)' - mavenOptions: '-Xmx3072m' + mavenOptions: '-Xmx4096m' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.11' jdkArchitectureOption: 'x64' diff --git a/release-branch-pipeline.yml b/release-branch-pipeline.yml index 83c2c4d3b..a4eb394db 100644 --- a/release-branch-pipeline.yml +++ b/release-branch-pipeline.yml @@ -127,7 +127,7 @@ jobs: - task: Maven@3 inputs: mavenPomFile: 'pom.xml' - mavenOptions: '-Xmx3072m' + mavenOptions: '-Xmx4096m' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.11' jdkArchitectureOption: 'x64'