Change mem settings for build
This commit is contained in:
parent
b51ac15051
commit
555edcf329
2
pom.xml
2
pom.xml
|
@ -434,7 +434,7 @@
|
|||
while if true it will use an executable. -->
|
||||
<fork>true</fork>
|
||||
<meminitial>512m</meminitial>
|
||||
<maxmem>768m</maxmem>
|
||||
<maxmem>2G</maxmem>
|
||||
<debug>true</debug>
|
||||
<compilerArgs>
|
||||
<arg>-J-XX:MaxRAMPercentage=50.0</arg>
|
||||
|
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
options: '--settings $(Agent.TempDirectory)/settings.xml -Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -DskipTests -DdeployToSonatype -P CHECKSTYLE'
|
||||
${{ else }}:
|
||||
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -DskipTests -P CHECKSTYLE'
|
||||
mavenOptions: '-Xmx768m'
|
||||
mavenOptions: '-Xmx2G'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '1.11'
|
||||
jdkArchitectureOption: 'x64'
|
||||
|
|
Loading…
Reference in New Issue