public MemorySize divide(long by) {
    checkArgument(by >= 0, "divisor must be >= 0");
    return new MemorySize(bytes / by);
  }
Gets the memory size in Tebibytes (= 1024 Gibibytes).
amoro-common/src/main/java/org/apache/amoro/utils/MemorySize.java