Skip to content

Commit

Permalink
Increase MaxRam setting to 8g
Browse files Browse the repository at this point in the history
  • Loading branch information
ripcurlx committed Jul 22, 2021
1 parent 6648ab0 commit 0cd20d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apitest/src/main/java/bisq/apitest/config/BisqAppConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public enum BisqAppConfig {
49998),
alicedesktop("bisq-BTC_REGTEST_Alice_dao",
"bisq-desktop",
"-XX:MaxRAM=6g -Dlogback.configurationFile=apitest/build/resources/main/logback.xml",
"-XX:MaxRAM=8g -Dlogback.configurationFile=apitest/build/resources/main/logback.xml",
BisqAppMain.class.getName(),
7777,
5122,
Expand All @@ -82,7 +82,7 @@ public enum BisqAppConfig {
49999),
bobdesktop("bisq-BTC_REGTEST_Bob_dao",
"bisq-desktop",
"-XX:MaxRAM=6g -Dlogback.configurationFile=apitest/build/resources/main/logback.xml",
"-XX:MaxRAM=8g -Dlogback.configurationFile=apitest/build/resources/main/logback.xml",
BisqAppMain.class.getName(),
8888,
5123,
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ 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 -Xss1280k -XX:+UseG1GC ' +
'DEFAULT_JVM_OPTS=""', 'DEFAULT_JVM_OPTS="-XX:MaxRAM=8g -Xss1280k -XX:+UseG1GC ' +
'-XX:MaxHeapFreeRatio=10 -XX:MinHeapFreeRatio=5 -XX:+UseStringDeduplication ' +
'-Djava.net.preferIPv4Stack=true"')
}
Expand Down
2 changes: 1 addition & 1 deletion desktop/package/package.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ task packageInstallers {
" --main-jar ${mainJarName}" +
" --main-class bisq.desktop.app.BisqAppMain" +
" --java-options -Xss1280k" +
" --java-options -XX:MaxRAM=6g" +
" --java-options -XX:MaxRAM=8g" +
" --java-options -XX:+UseG1GC" +
" --java-options -XX:MaxHeapFreeRatio=10" +
" --java-options -XX:MinHeapFreeRatio=5" +
Expand Down

0 comments on commit 0cd20d6

Please sign in to comment.