presto-main/src/main/java/io/prestosql/operator/project/MergePages.java/MergePages/flush
class MergePages:        private Page flush()
        {
            Page output = pageBuilder.build();
            pageBuilder.reset();
            memoryContext.setBytes(pageBuilder.getRetainedSizeInBytes());
            return output;
        }