summarylogtreecommitdiffstats
path: root/ib-tws.conf
diff options
context:
space:
mode:
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"