presto-main/src/main/java/io/prestosql/operator/aggregation/minmaxby/MinMaxByNStateFactory.java/MinMaxByNStateFactory/getEstimatedSize
class MinMaxByNStateFactory:        @Override
        public long getEstimatedSize()
        {
            long estimatedSize = INSTANCE_SIZE;
            if (typedKeyValueHeap != null) {
                estimatedSize += typedKeyValueHeap.getEstimatedSize();
            }
            return estimatedSize;
        }