Skip to content

Increase Maven heap for release builds - #1379

Open
Gavin Barron (gavinbarron) wants to merge 2 commits into
mainfrom
gavinbarron-use-maven-task-release
Open

Increase Maven heap for release builds#1379
Gavin Barron (gavinbarron) wants to merge 2 commits into
mainfrom
gavinbarron-use-maven-task-release

Conversation

@gavinbarron

@gavinbarron Gavin 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) requested a review from a team as a code owner August 5, 2026 23:18
Sign up for free to 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.

2 participants