mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Add new JVM arguments also to build script
This commit is contained in:
parent
401f9d25f0
commit
6648ab04f7
@ -145,7 +145,9 @@ configure([project(':cli'),
|
||||
if (applicationName == 'desktop') {
|
||||
def script = file("${rootProject.projectDir}/bisq-$applicationName")
|
||||
script.text = script.text.replace(
|
||||
'DEFAULT_JVM_OPTS=""', 'DEFAULT_JVM_OPTS="-XX:MaxRAM=6g"')
|
||||
'DEFAULT_JVM_OPTS=""', 'DEFAULT_JVM_OPTS="-XX:MaxRAM=6g -Xss1280k -XX:+UseG1GC ' +
|
||||
'-XX:MaxHeapFreeRatio=10 -XX:MinHeapFreeRatio=5 -XX:+UseStringDeduplication ' +
|
||||
'-Djava.net.preferIPv4Stack=true"')
|
||||
}
|
||||
|
||||
if (applicationName == 'apitest') {
|
||||
|
Loading…
Reference in New Issue
Block a user