HappenLee opened a new issue #4137: URL: https://github.com/apache/incubator-doris/issues/4137
**Describe the bug** MemExceed in SortNode when enable spilling and use multi spill operator, when we use PartitionAggregateNode or PartitionHash join node also need to spill to disk. **To Reproduce** 1. Enable spilling first 2. Exec ```select a, sum(b) group by a order by a```; 3. Make Sure PartitionAggregateNode and SortNode both need BufferBlockMgr to spill to disk 4. See error **Expected behavior** Do not show MemExceed. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org