public long getFreeMemoryInBytes() {
    return totalMemorySizeInBytes - usedMemoryInBytes.get();
  }
Get the free memory in byte of this memory block
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/AtomicLongMemoryBlock.java