You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/06/12 11:10:34 UTC
[iotdb] 02/02: fix jvm
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch one_process_iotdb
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 8bf98f1ceef22dc97a46333c2552b0cd4e852dfd
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Jun 12 19:10:10 2023 +0800
fix jvm
---
standalone/src/assembly/resources/conf/iotdb-env.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/standalone/src/assembly/resources/conf/iotdb-env.sh b/standalone/src/assembly/resources/conf/iotdb-env.sh
index 4ae49358289..99c6c149bd6 100644
--- a/standalone/src/assembly/resources/conf/iotdb-env.sh
+++ b/standalone/src/assembly/resources/conf/iotdb-env.sh
@@ -238,10 +238,10 @@ MAX_CACHED_BUFFER_SIZE=`expr $max_heap_size_in_mb \* 1024 \* 1024 / $threads_num
JMX_LOCAL="true"
IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Diotdb.jmx.local=$JMX_LOCAL"
-IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xms${HEAP_NEWSIZE}"
-IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xmx${MAX_HEAP_SIZE}"
-IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -XX:MaxDirectMemorySize=${MAX_DIRECT_MEMORY_SIZE}"
-IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Djdk.nio.maxCachedBufferSize=${MAX_CACHED_BUFFER_SIZE}"
+IOTDB_JVM_OPTS="$IOTDB_JVM_OPTS -Xms${HEAP_NEWSIZE}"
+IOTDB_JVM_OPTS="$IOTDB_JVM_OPTS -Xmx${MAX_HEAP_SIZE}"
+IOTDB_JVM_OPTS="$IOTDB_JVM_OPTS -XX:MaxDirectMemorySize=${MAX_DIRECT_MEMORY_SIZE}"
+IOTDB_JVM_OPTS="$IOTDB_JVM_OPTS -Djdk.nio.maxCachedBufferSize=${MAX_CACHED_BUFFER_SIZE}"
echo "Maximum memory allocation pool = ${MAX_HEAP_SIZE}B, initial memory allocation pool = ${HEAP_NEWSIZE}B"
echo "If you want to change this configuration, please check conf/iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat)."