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