Steven Phillips created DRILL-2728:
--------------------------------------

             Summary: Merge spill files in ExternalSort
                 Key: DRILL-2728
                 URL: https://issues.apache.org/jira/browse/DRILL-2728
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: Steven Phillips
            Assignee: Steven Phillips


When external sort spills, it first merges all of the in-memory batches, and 
then keeps one batch in memory, while spilling the rest to disk. It's possible 
that we will still run out of memory, due to the single batch held in memory 
for each spill. When the memory due to these batches becomes too large, we 
should combine the spill files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to