public long getCapacity() {
    return capacity;
  }
Returns the current available capacity in this array
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/relational/aggregation/grouped/array/ObjectBigArray.java