wecharyu commented on PR #13661:
URL: https://github.com/apache/gluten/pull/13661#issuecomment-7307275145

   > building several large tables concurrently could push the executor past 
its container limit and get it killed by YARN.
   
   @JkSelf Thanks, that's a fair point. Vanilla Spark also could throw 
`java.lang.OutOfMemoryError` and cause the executor exit in this case.
   
   If we want to handle this case, one option is to put a cap on the broadcast 
pool's listener. The listener only accounts the memory that does not account 
with Spark storage memory pool, and throws a Gluten OOM if past the cap. The 
cap could be a fraction of `memoryOverhead` just like the spill memory pool 
cap. Could you share your thoughts?


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