THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
GC log 生成方式
在 start-server.sh 增加如下参数
iotdb_parms="$iotdb_parms -XX:+PrintGCDetails"
iotdb_parms="$iotdb_parms -XX:+PrintGCDateStamps"
iotdb_parms="$iotdb_parms -XX:+PrintTenuringDistribution"
iotdb_parms="$iotdb_parms -XX:+PrintHeapAtGC"
iotdb_parms="$iotdb_parms -XX:+PrintReferenceGC"
iotdb_parms="$iotdb_parms -XX:+PrintGCApplicationStoppedTime"
iotdb_parms="$iotdb_parms -Xloggc:/home/iotdb/example-dir/gc-%t.log"
iotdb_parms="$iotdb_parms -XX:+UseGCLogFileRotation"
iotdb_parms="$iotdb_parms -XX:GCLogFileSize=100M"