Skip to content

Commit

Permalink
[fix][client] Remove deprecated "-client" JVM arg
Browse files Browse the repository at this point in the history
Some OpenJDK distributions fail:
Unrecognized option: -client
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
  • Loading branch information
lhotari committed Sep 29, 2024
1 parent 5e832a1 commit c5f12af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions conf/pulsar_tools_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ if [ -n "$PULSAR_MEM" ]; then
fi
PULSAR_MEM=${PULSAR_MEM:-"-Xmx128m -XX:MaxDirectMemorySize=128m"}

# Garbage collection options
PULSAR_GC=${PULSAR_GC:-" -client "}

# Extra options to be passed to the jvm
PULSAR_EXTRA_OPTS="${PULSAR_MEM} ${PULSAR_GC} ${PULSAR_GC_LOG} -Dio.netty.leakDetectionLevel=disabled ${PULSAR_EXTRA_OPTS}"

Expand Down

0 comments on commit c5f12af

Please sign in to comment.