public void setTotalMemorySizeInBytesWithReload(long totalMemorySizeInBytes) {
    reAllocateMemoryAccordingToRatio((double) totalMemorySizeInBytes / this.totalMemorySizeInBytes);
  }
Get total memory size in bytes of memory manager
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryManager.java