@Override
  public int compareTo(MemorySize that) {
    return Long.compare(this.bytes, that.bytes);
  }
Gets the memory size in Tebibytes (= 1024 Gibibytes).
amoro-common/src/main/java/org/apache/amoro/utils/MemorySize.java