summarylogtreecommitdiffstats
path: root/ib-gw.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ib-gw.conf')
-rw-r--r--ib-gw.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/ib-gw.conf b/ib-gw.conf
index b4b58368252..8141049a3c5 100644
--- a/ib-gw.conf
+++ b/ib-gw.conf
@@ -8,7 +8,7 @@
# ex: JAVA_FLAGS="$JAVA_FLAGS -SomeOtherFlag"
IB_CONFIG_DIR=$HOME/.ib-tws
-JAVA_XMX="-Xmx512m"
-JAVA_UI_FLAGS="-Dsun.java2d.noddraw=true"
+JAVA_GC="-Xmx512m -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_EXTRA_FLAGS=
-JAVA_FLAGS="$JAVA_XMX $JAVA_UI_FLAGS $JAVA_EXTRA_FLAGS"
+JAVA_FLAGS="$JAVA_GC $JAVA_UI_FLAGS $JAVA_EXTRA_FLAGS"