FelixYBW commented on issue #6556:
URL:
https://github.com/apache/incubator-gluten/issues/6556#issuecomment-2361957774
The issue is still there:
Aggregation didn't hold memory but its root pool still hold the memory.
```
24/09/19 08:59:37 ERROR [Executor task launch worker for task 270.0 in stage
0.0 (TID 270)] listener.ManagedReservationListener: Error reserving memory from
target
org.apache.gluten.memory.memtarget.ThrowOnOomMemoryTarget$OutOfMemoryException:
Not enough spark off-heap execution memory. Acquired: 1080.0 MiB, granted:
552.0 MiB. 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.gluten.memory.offHeap.size.in.bytes=50.0 GiB
spark.gluten.memory.task.offHeap.size.in.bytes=12.5 GiB
spark.gluten.memory.conservative.task.offHeap.size.in.bytes=6.3 GiB
spark.memory.offHeap.enabled=true
spark.gluten.memory.dynamic.offHeap.sizing.enabled=false
Memory consumer stats:
Task.270: Current used
bytes: 12.0 GiB, peak bytes: N/A
\- Gluten.Tree.3: Current used
bytes: 12.0 GiB, peak bytes: 12.5 GiB
\- root.3: Current used
bytes: 12.0 GiB, peak bytes: 12.5 GiB
+- WholeStageIterator.0: Current used
bytes: 12.0 GiB, peak bytes: 12.5 GiB
| \- single: Current used
bytes: 12.0 GiB, peak bytes: 12.0 GiB
| +- root: Current used
bytes: 281.2 MiB, peak bytes: 12.0 GiB
| | +- task.Gluten_Stage_0_TID_270_VTID_0: Current used
bytes: 281.2 MiB, peak bytes: 12.0 GiB
| | | +- node.5: Current used
bytes: 256.0 MiB, peak bytes: 11.9 GiB
| | | | \- op.5.0.0.Aggregation: Current used
bytes: 256.0 MiB, peak bytes: 7.9 GiB
| | | +- node.0: Current used
bytes: 24.2 MiB, peak bytes: 28.0 MiB
| | | | +- op.0.0.0.TableScan: Current used
bytes: 24.2 MiB, peak bytes: 26.3 MiB
| | | | \- op.0.0.0.TableScan.test-hive: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| | | +- node.1: Current used
bytes: 986.5 KiB, peak bytes: 2.0 MiB
| | | | \- op.1.0.0.FilterProject: Current used
bytes: 986.5 KiB, peak bytes: 1183.5 KiB
| | | +- node.3: Current used
bytes: 25.3 KiB, peak bytes: 1024.0 KiB
| | | | \- op.3.0.0.FilterProject: Current used
bytes: 25.3 KiB, peak bytes: 26.1 KiB
| | | +- node.2: Current used
bytes: 512.0 B, peak bytes: 1024.0 KiB
| | | | \- op.2.0.0.Expand: Current used
bytes: 512.0 B, peak bytes: 640.0 B
| | | +- node.4: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| | | | \- op.4.0.0.Expand: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| | | \- node.6: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| | | \- op.6.0.0.FilterProject: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| | \- default_leaf: Current used
bytes: 1536.0 B, peak bytes: 1664.0 B
| \- gluten::MemoryAllocator: Current used
bytes: 0.0 B, peak bytes: 0.0 B
+- ShuffleWriter.3.OverAcquire.0: Current used
bytes: 0.0 B, peak bytes: 0.0 B
+- ShuffleWriter.3: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| \- single: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| +- root: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| | \- default_leaf: Current used
bytes: 0.0 B, peak bytes: 0.0 B
| \- gluten::MemoryAllocator: Current used
bytes: 0.0 B, peak bytes: 0.0 B
\- WholeStageIterator.0.OverAcquire.0: Current used
bytes: 0.0 B, peak bytes: 3.0 GiB
```
--
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]