kecookier opened a new pull request, #8132:
URL: https://github.com/apache/incubator-gluten/pull/8132

   ## What changes were proposed in this pull request?
   
   Retry memory borrow when granted less than requested size in multi-slot and 
Gluten shared mode. If ThrowOnOomMemoryTarget cannot acquire memory, spill more 
memory and then retry.
   
   (Fixes: \#8128)
   
   If the case in issue #8128 occurs, the first borrow(sizeA) will spill sizeA 
memory. If curMemory minus sizeA is greater than the maxPerTaskSize, we'll get 
0 returned. So we spill enough memory, then retry the borrow.
   
   ## How was this patch tested?
   Test with my production ETL.


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