File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,11 @@ services:
2727 # e2-micro has less than 1 GiB RAM. The upstream image defaults to
2828 # -Xmx768m, which can starve sshd/Docker/guest-agent. Keep this
2929 # configurable, but use a safer default for the current VM.
30- - JAVA_HEAP_SIZE=${JAVA_HEAP_SIZE:-512}
30+ # 384 MiB was stable in the recovery smoke check: it leaves
31+ # room for the guest OS and prevents the Gateway UI from being killed
32+ # before the login dialog can report a broker-side failure. Operators can
33+ # still set JAVA_HEAP_SIZE explicitly for a larger VM.
34+ - JAVA_HEAP_SIZE=${JAVA_HEAP_SIZE:-384}
3135 # The upstream vmoptions use 20 parallel GC threads, which is too
3236 # aggressive for the current 2 vCPU VM and can slow Gateway startup.
3337 - IB_GATEWAY_PARALLEL_GC_THREADS=${IB_GATEWAY_PARALLEL_GC_THREADS:-2}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ grep -Fq ' - IBC_SECOND_FACTOR_AUTHENTICATION_EXIT_INTERVAL=${IBC_SECOND_FA
5353grep -Fq ' - EXISTING_SESSION_DETECTED_ACTION=${EXISTING_SESSION_DETECTED_ACTION:-primary}' " $compose_file "
5454grep -Fq ' - IBKR_2FA_AUTOFILL=${IBKR_2FA_AUTOFILL:-yes}' " $compose_file "
5555grep -Fq ' - IBKR_2FA_MAX_SUBMISSIONS=${IBKR_2FA_MAX_SUBMISSIONS:-1}' " $compose_file "
56- grep -Fq ' - JAVA_HEAP_SIZE=${JAVA_HEAP_SIZE:-512 }' " $compose_file "
56+ grep -Fq ' - JAVA_HEAP_SIZE=${JAVA_HEAP_SIZE:-384 }' " $compose_file "
5757grep -Fq ' - IB_GATEWAY_PARALLEL_GC_THREADS=${IB_GATEWAY_PARALLEL_GC_THREADS:-2}' " $compose_file "
5858grep -Fq ' - IB_GATEWAY_CONC_GC_THREADS=${IB_GATEWAY_CONC_GC_THREADS:-1}' " $compose_file "
5959grep -Fq ' - ACCEPT_API_FROM_IP=${ACCEPT_API_FROM_IP:?Set ACCEPT_API_FROM_IP to your Cloud Run egress subnet or connector CIDR}' " $compose_file "
You can’t perform that action at this time.
0 commit comments