mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 11:06:49 +00:00
refactor/(pom.xml): increase Scala compiler JVM memory allocation
- Increase initial heap size from 1G to 4G (-Xms) - Increase maximum heap size from 3G to 12G (-Xmx) - Increase metaspace size from 1G to 4G (-XX:MaxMetaspaceSize) - Improve compilation performance and reduce out-of-memory errors during large-scale builds
This commit is contained in:
parent
8b39edb618
commit
3c9ecdfbfa
@ -676,10 +676,10 @@
|
||||
<recompileMode>incremental</recompileMode>
|
||||
<useZincServer>true</useZincServer>
|
||||
<jvmArgs>
|
||||
<jvmArg>-Xms1G</jvmArg>
|
||||
<jvmArg>-Xmx3G</jvmArg>
|
||||
<jvmArg>-Xms4G</jvmArg>
|
||||
<jvmArg>-Xmx12G</jvmArg>
|
||||
<jvmArg>-Xss4m</jvmArg>
|
||||
<jvmArg>-XX:MaxMetaspaceSize=1G</jvmArg>
|
||||
<jvmArg>-XX:MaxMetaspaceSize=4G</jvmArg>
|
||||
<jvmArg>-XX:+UseG1GC</jvmArg>
|
||||
<jvmArg>-XX:+TieredCompilation</jvmArg>
|
||||
<jvmArg>-XX:TieredStopAtLevel=1</jvmArg>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user