@Override
  protected long calculateBytesUsed() {
    return INSTANCE_SIZE
        + RamUsageEstimator.sizeOf(times)
        + InsertNodeMemoryEstimator.sizeOfBitMapArray(nullBitMaps)
        + InsertNodeMemoryEstimator.sizeOfColumns(columns, measurementSchemas)
        + (Objects.nonNull(deviceIDs)
            ? Arrays.stream(deviceIDs)
                .mapToLong(InsertNodeMemoryEstimator::sizeOfIDeviceID)
                .reduce(0L, Long::sum)
            : 0L);
  }
This param record whether the source of logical view is aligned. Only used when there are
views.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertTabletStatement.java