public static long getBinaryColumnSize(Binary[] column, int start, int end, TSStatus[] results) {
    long memSize = 0;
    memSize += (long) (end - start) * RamUsageEstimator.NUM_BYTES_OBJECT_HEADER;
    for (int i = start; i < end; i++) {
      if (results == null
          || results[i] == null
          || results[i].code == TSStatusCode.SUCCESS_STATUS.getStatusCode()) {
        memSize += RamUsageEstimator.sizeOf(column[i].getValues());
      }
    }
    return memSize;
  }
Function for obtaining the value size. For text values, their size has already been added to
memory before insertion
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/MemUtils.java