kecookier commented on PR #8132:
URL: 
https://github.com/apache/incubator-gluten/pull/8132#issuecomment-2547321539

   > Can we just spill maxPerTaskSize memory in the first try? Since task1 
can't allocate any "new" memory any more. The retry has high possibility to be 
triggered.
   
   @FelixYBW  Good question. In gluten shared mode, the first spill is 
triggered by [Vanilla Spark 
TaskMemoryManager](https://github.com/apache/spark/blob/branch-3.5/core/src/main/java/org/apache/spark/memory/TaskMemoryManager.java#L228),
 which only spills the requested memory. The spill size might be difficult to 
control easily within gluten.


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