GitHub user paul-rogers opened a pull request: https://github.com/apache/drill/pull/767
DRILL-5226: Managed external sort fixes * Memory leak in managed sort if OOM during sv2 allocation * "Record batch sizer" does not include overhead for variable-sized vectors * Paranoid double-checking of merge batch sizes to prevent OOM when the sizes differ from expectations * Revised logging You can merge this pull request into a Git repository by running: $ git pull https://github.com/paul-rogers/drill DRILL-5226 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/767.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #767 ---- commit 57d99bdfdc5c7150d64d107b549dfb808f1c92a4 Author: Paul Rogers <prog...@maprtech.com> Date: 2017-03-03T00:09:01Z DRILL-5226: Managed external sort fixes * Memory leak in managed sort if OOM during sv2 allocation * "Record batch sizer" does not include overhead for variable-sized vectors * Paranoid double-checking of merge batch sizes to prevent OOM when the sizes differ from expectations * Revised logging ---- --- 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. ---