FelixYBW opened a new issue, #11421: URL: https://github.com/apache/incubator-gluten/issues/11421
### Backend VL (Velox) ### Bug description When we try to create TPCDS table using deltalake in cluster format, get the error below. Not sure why spill isn't triggered during the OOM. ``` 04:15:02 Caused by: org.apache.gluten.exception.GlutenException: org.apache.gluten.exception.GlutenException: Error during calling Java code from native code: org.apache.gluten.memory.memtarget.ThrowOnOomMemoryTarget$OutOfMemoryException: Not enough spark off-heap execution memory. Acquired: 8.0 MiB, granted: 614.4 KiB. 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). 04:15:02 Current config settings: 04:15:02 spark.memory.offHeap.enabled=True 04:15:02 spark.gluten.memory.dynamic.offHeap.sizing.enabled=N/A 04:15:02 spark.gluten.memory.offHeap.size.in.bytes=99.8 GiB 04:15:02 spark.gluten.memory.task.offHeap.size.in.bytes=6.6 GiB 04:15:02 spark.gluten.memory.conservative.task.offHeap.size.in.bytes=3.3 GiB 04:15:02 Memory consumer stats: 04:15:02 Task.9135: Current used bytes: 6.6 GiB, peak bytes: N/A 04:15:02 +- org.apache.spark.shuffle.sort.ShuffleExternalSorter@41b2766d: Current used bytes: 5.8 GiB, peak bytes: N/A 04:15:02 +- Gluten.Tree.3873: Current used bytes: 920.0 MiB, peak bytes: 1344.0 MiB 04:15:02 | \- Capacity[8.0 EiB].3873: Current used bytes: 920.0 MiB, peak bytes: 1344.0 MiB 04:15:02 | +- NativePlanEvaluator-3680.0: Current used bytes: 920.0 MiB, peak bytes: 1344.0 MiB 04:15:02 | | \- single: Current used bytes: 920.0 MiB, peak bytes: 1344.0 MiB 04:15:02 | | +- root: Current used bytes: 920.0 MiB, peak bytes: 1344.0 MiB 04:15:02 | | | +- task.Gluten_Stage_343_TID_9135_VTID_3680: Current used bytes: 920.0 MiB, peak bytes: 1344.0 MiB 04:15:02 | | | | \- node.0: Current used bytes: 920.0 MiB, peak bytes: 1344.0 MiB 04:15:02 | | | | +- op.0.0.0.TableScan: Current used bytes: 920.0 MiB, peak bytes: 1342.1 MiB 04:15:02 | | | | \- op.0.0.0.TableScan.test-hive: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | | \- default_leaf: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | \- gluten::MemoryAllocator: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | \- default: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | +- NativePlanEvaluator-3680.0.OverAcquire.0: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | +- IteratorMetrics.2951: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | \- single: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | +- root: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | | \- default_leaf: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | \- gluten::MemoryAllocator: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | | \- default: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | \- IteratorMetrics.2951.OverAcquire.0: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 \- Gluten.Tree.3877: Current used bytes: 1024.0 KiB, peak bytes: 8.0 MiB 04:15:02 \- Capacity[8.0 EiB].3877: Current used bytes: 1024.0 KiB, peak bytes: 8.0 MiB 04:15:02 +- VeloxColumnarToRow.2215: Current used bytes: 1024.0 KiB, peak bytes: 8.0 MiB 04:15:02 | \- single: Current used bytes: 1024.0 KiB, peak bytes: 8.0 MiB 04:15:02 | +- root: Current used bytes: 1024.0 KiB, peak bytes: 1024.0 KiB 04:15:02 | | \- default_leaf: Current used bytes: 1024.0 KiB, peak bytes: 1024.0 KiB 04:15:02 | \- gluten::MemoryAllocator: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 | \- default: Current used bytes: 0.0 B, peak bytes: 0.0 B 04:15:02 \- VeloxColumnarToRow.2215.OverAcquire.0: Current used bytes: 0.0 B, peak bytes: 0.0 B ``` ### Gluten version _No response_ ### Spark version None ### Spark configurations _No response_ ### System information _No response_ ### Relevant logs ```bash ``` -- 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]
