presto-main/src/main/java/io/prestosql/operator/aggregation/builder/InMemoryHashAggregationBuilder.java/InMemoryHashAggregationBuilder/updateIsFull
class InMemoryHashAggregationBuilder:    private void updateIsFull(long sizeInMemory)
    {
        if (!partial || !maxPartialMemory.isPresent()) {
            return;
        }

        full = sizeInMemory > maxPartialMemory.getAsLong();
    }