bisq-desktop: optimize DAO state snapshot

This change introduces Java VM arguments to take advantage of
optimizations introduced in Bisq 1.7.2.

See https://github.com/bisq-network/bisq/pull/5609
This commit is contained in:
Emmanuel Rosa 2021-07-26 18:29:18 +07:00
parent ab8ecd66c5
commit 961ca77734

View file

@ -24,7 +24,7 @@ let
# whereas Nix only scans for hashes in uncompressed text.
# ${bisq-tor}
JAVA_TOOL_OPTIONS="-XX:MaxRAM=4g" bisq-desktop-wrapped "$@"
JAVA_TOOL_OPTIONS="-XX:+UseG1GC -XX:MaxHeapFreeRatio=10 -XX:MinHeapFreeRatio=5 -XX:+UseStringDeduplication" bisq-desktop-wrapped "$@"
'';
bisq-tor = writeScript "bisq-tor" ''