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

   A follow-up for https://github.com/apache/incubator-gluten/pull/11148 to 
make sure OOM is thrown when off-heap BHJ is running out of memory.
   
   Example:
   
   ```
   
org.apache.gluten.memory.memtarget.ThrowOnOomMemoryTarget$OutOfMemoryException: 
Not enough spark off-heap execution memory. Acquired: 56.0 MiB, granted: 0.0 B. 
Try tweaking config option spark.memory.offHeap.size to get larger space to run 
this application (if spark.gluten.memory.dynamic.offHeap.sizing.enabled is not 
enabled). 
   Current config settings: 
        spark.memory.offHeap.enabled=true
        spark.gluten.memory.dynamic.offHeap.sizing.enabled=N/A
        spark.gluten.memory.offHeap.size.in.bytes=N/A
        spark.gluten.memory.task.offHeap.size.in.bytes=N/A
        spark.gluten.memory.conservative.task.offHeap.size.in.bytes=N/A
   Global off-heap target stats: 
        GlobalOffHeap.0: Current used bytes: 152.0 MiB, peak bytes: 152.0 MiB
   ...
   ```


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