summarylogtreecommitdiffstats
path: root/ib-tws.conf
diff options
context:
space:
mode:
authorBen Alex2020-12-16 10:32:35 +1100
committerBen Alex2020-12-16 10:32:35 +1100
commit6c3ae22e57b3361a55a6bdda7aa977749cb4525e (patch)
tree19c5eec1b728e0584414ffbe02fbe9d3f448ea98 /ib-tws.conf
parent2a7ed455aae3677a5b326128a02a3b7915aa11c3 (diff)
downloadaur-6c3ae22e57b3361a55a6bdda7aa977749cb4525e.tar.gz
Update to 981.2h and adjust .conf files for better fonts/GC
Diffstat (limited to 'ib-tws.conf')
-rw-r--r--ib-tws.conf7
1 files changed, 3 insertions, 4 deletions
diff --git a/ib-tws.conf b/ib-tws.conf
index eb8152edd7f..f3844d2939b 100644
--- a/ib-tws.conf
+++ b/ib-tws.conf
@@ -8,8 +8,7 @@
# ex: JAVA_FLAGS="$JAVA_FLAGS -SomeOtherFlag"
IB_CONFIG_DIR=$HOME/.ib-tws
-JAVA_XMX="-Xmx768m"
-JAVA_UI_FLAGS="-Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dswing.boldMetal=false"
+JAVA_GC="-Xmx4G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70"
+JAVA_UI_FLAGS="-Dswing.aatext=TRUE -Dawt.useSystemAAFontSettings=on -Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true"
JAVA_LOCALE_FLAGS="-Dsun.locale.formatasdefault=true"
-JAVA_EXTRA_FLAGS=
-JAVA_FLAGS="$JAVA_XMX $JAVA_UI_FLAGS $JAVA_LOCALE_FLAGS $JAVA_EXTRA_FLAGS"
+JAVA_FLAGS="$JAVA_GC $JAVA_UI_FLAGS $JAVA_LOCALE_FLAGS $JAVA_EXTRA_FLAGS"