presto-main/src/main/java/io/prestosql/operator/aggregation/TypedSet.java/TypedSet/getRetainedSizeInBytes
class TypedSet:    public long getRetainedSizeInBytes()
    {
        return INSTANCE_SIZE + INT_ARRAY_LIST_INSTANCE_SIZE + elementBlock.getRetainedSizeInBytes() + blockPositionByHash.size() * Integer.BYTES;
    }