Github user Ben-Zvi commented on the pull request: https://github.com/apache/drill/commit/c16570705a182bf833576a7ddb546665442ef14d#commitcomment-20772328 In exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/managed/ExternalSortBatch.java: In exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/managed/ExternalSortBatch.java on line 405: Ditto for the <code>MIN_MERGED_BATCH_SIZE</code> ; capping at %10 mem limit still needs to be here ..
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---