presto-main/src/main/java/io/prestosql/operator/aggregation/TypedHeap.java/TypedHeap/getEstimatedSize
class TypedHeap:    public long getEstimatedSize()
    {
        return INSTANCE_SIZE + heapBlockBuilder.getRetainedSizeInBytes() + sizeOf(heapIndex);
    }