Skip to content

Commit 7155583

Browse files
committed
Increase Maven task heap size
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
1 parent c3eaf5d commit 7155583

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.azure-pipelines/ci-build.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ extends:
112112
javaHomeOption: 'JDKVersion'
113113
jdkVersionOption: '1.21'
114114
jdkArchitectureOption: 'x64'
115+
mavenOptions: '-Xmx3072m'
115116

116117
- task: Maven@4
117118
displayName: Publish to local Maven for verification
@@ -124,6 +125,7 @@ extends:
124125
javaHomeOption: 'JDKVersion'
125126
jdkVersionOption: '1.21'
126127
jdkArchitectureOption: 'x64'
128+
mavenOptions: '-Xmx3072m'
127129

128130
- task: Maven@4
129131
displayName: Stage artifacts for ESRP
@@ -136,6 +138,7 @@ extends:
136138
javaHomeOption: 'JDKVersion'
137139
jdkVersionOption: '1.21'
138140
jdkArchitectureOption: 'x64'
141+
mavenOptions: '-Xmx3072m'
139142

140143
- task: Maven@4
141144
displayName: Stage artifacts for ESRP
@@ -148,6 +151,7 @@ extends:
148151
javaHomeOption: 'JDKVersion'
149152
jdkVersionOption: '1.21'
150153
jdkArchitectureOption: 'x64'
154+
mavenOptions: '-Xmx3072m'
151155

152156
- pwsh: |
153157
$pomXml = [xml](Get-Content pom.xml -Raw)

0 commit comments

Comments
 (0)