Skip to content

Commit 6adbc4a

Browse files
committed
self review
1 parent 0bc795b commit 6adbc4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/conf/datanode-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ esac
6666
IOTDB_ALLOW_HEAP_DUMP="true"
6767

6868
calculate_memory_sizes()
69-
{expr cat /sys/fs/cgroup/memory.max / 1024 / 1024
69+
{
7070
case "`uname`" in
7171
Linux)
7272
system_memory_in_mb=`free -m| sed -n '2p' | awk '{print $2}'`

0 commit comments

Comments
 (0)