wForget commented on issue #9383:
URL: 
https://github.com/apache/incubator-gluten/issues/9383#issuecomment-2819909029

   > So it's the first memory allocation of OrderBy. You may decrease the batch 
size and see what happens. 
   
   It looks like this, the batch size is the default 4096, I added more logs:
   
   ```
   W20250422 10:17:33.438113 40019 SortBuffer.cpp:234] Failed to reserve 2.01GB 
for memory pool op.2.0.0.OrderBy, usage: 0B, reservation: 0B, 
estimatedIncrementalBytes: 1.00GB, currentMemoryUsage: 4.50MB, row size: 4096, 
flatInputBytes: 1.00GB
   ```
   
   Does this mean that this one ColumnBatch requires 1G memory?
   
   > What's the query plan?
   
   The query plan is as follows. The exception occurs in the sorting before 
aggregation.
   
   
![Image](https://github.com/user-attachments/assets/098b9897-1d40-4ca5-9003-548b88007def)


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to