presto-main/src/main/java/io/prestosql/operator/aggregation/histogram/GroupedTypedHistogram.java/GroupedTypedHistogram/getEstimatedSize
class GroupedTypedHistogram:    @Override
    public long getEstimatedSize()
    {
        return INSTANCE_SIZE
                + counts.sizeOf()
                + groupIds.sizeOf()
                + nextPointers.sizeOf()
                + valuePositions.sizeOf()
                + valueAndGroupHashes.sizeOf()
                + buckets.sizeOf()
                + values.getRetainedSizeInBytes()
                + valueStore.getEstimatedSize()
                + headPointers.sizeOf();
    }