Skip to content

Increase Maven heap for release builds - #1379

Merged
Gavin Barron (gavinbarron) merged 3 commits into
mainfrom
gavinbarron-use-maven-task-release
Aug 7, 2026
Merged

Increase Maven heap for release builds#1379
Gavin Barron (gavinbarron) merged 3 commits into
mainfrom
gavinbarron-use-maven-task-release

Conversation

@gavinbarron

@gavinbarronGavin Barron (gavinbarron) commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

  • set mavenOptions: '-Xmx3072m' on every Maven@4 install/deploy release task
  • match the existing daily pipeline convention to prevent java.lang.OutOfMemoryError: Java heap space while compiling generated sources

Validation

  • parsed .azure-pipelines/ci-build.yml successfully as YAML
  • confirmed all four release Maven@4 tasks have the 3 GB heap setting

Follow-up to #1376, which was merged before this pipeline failure was identified.

Microsoft Reviewers: Open in CodeFlow

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bca275c0-abb4-4883-b495-ac789cd61db6
@gavinbarron
Gavin Barron (gavinbarron) merged commit afbc374 into mainAug 7, 2026
7 of 12 checks passed
@gavinbarron
Gavin Barron (gavinbarron) deleted the gavinbarron-use-maven-task-release branch August 7, 2026 19:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@gavinbarron@jingjingjia-ms@adrian05-ms