Skip to content

Increase Maven heap for release tasks - #2653

Merged
gavinbarron merged 3 commits into
mainfrom
gavinbarron-use-maven-task
Aug 6, 2026
Merged

Increase Maven heap for release tasks#2653
gavinbarron merged 3 commits into
mainfrom
gavinbarron-use-maven-task

Conversation

@gavinbarron

Copy link
Copy Markdown
Member

Summary

  • configure all release pipeline Maven@4 tasks with a 3 GB JVM heap
  • prevent java.lang.OutOfMemoryError: Java heap space while compiling generated SDK sources
  • match the Maven heap configuration already used by the daily pipeline

Validation

  • confirmed all four release Maven tasks set mavenOptions: '-Xmx3072m'
  • confirmed the resulting diff has no whitespace errors

Replace Maven wrapper invocations with Maven@4 tasks so network-isolated builds use the hosted Maven installation and authenticated Azure Artifacts mirror.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 94192e5b-ed23-41af-8495-a1b4a0f9689e
Configure the release pipeline Maven tasks with a 3 GB JVM heap so javac can compile the generated SDK sources without exhausting its default heap.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 94192e5b-ed23-41af-8495-a1b4a0f9689e
@gavinbarron
gavinbarron requested a review from a team as a code owner August 5, 2026 23:20
ramsessanchez
ramsessanchez previously approved these changes Aug 5, 2026
@gavinbarron
gavinbarron merged commit b2cc8b7 into main Aug 6, 2026
10 of 11 checks passed
@gavinbarron
gavinbarron deleted the gavinbarron-use-maven-task branch August 6, 2026 00:59
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.

4 participants