We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bc795b commit 6adbc4aCopy full SHA for 6adbc4a
1 file changed
scripts/conf/datanode-env.sh
@@ -66,7 +66,7 @@ esac
66
IOTDB_ALLOW_HEAP_DUMP="true"
67
68
calculate_memory_sizes()
69
-{expr cat /sys/fs/cgroup/memory.max / 1024 / 1024
+{
70
case "`uname`" in
71
Linux)
72
system_memory_in_mb=`free -m| sed -n '2p' | awk '{print $2}'`
0 commit comments