wForget commented on issue #9938:
URL: 
https://github.com/apache/incubator-gluten/issues/9938#issuecomment-2969309901

   > This did not solve my issue, my issue occurred in 
SortBuffer.noMoreInput->finishSpill
   
   After backport https://github.com/facebookincubator/velox/pull/11199, OOM 
occurs during `OrderBy::getOutput`:
   
   ```
   E20250613 14:42:00.817238 2545946 Exceptions.h:67] Line: 
/data/gitQIYI/gluten/ep/build-velox/build/velox_ep/velox/exec/Driver.cpp:651, 
Function:runInternal, Expression:  Operator::getOutput failed for [operator: 
OrderBy, plan node ID: 7]: 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: 5.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=2.0 GiB
        spark.gluten.memory.task.offHeap.size.in.bytes=2.0 GiB
        spark.gluten.memory.conservative.task.offHeap.size.in.bytes=1024.0 MiB
        spark.memory.offHeap.enabled=true
        spark.gluten.memory.dynamic.offHeap.sizing.enabled=false
   Memory consumer stats: 
        Task.9416:                                              Current used 
bytes: 2043.0 MiB, peak bytes:        N/A
        \- Gluten.Tree.19:                                      Current used 
bytes: 2043.0 MiB, peak bytes:    2.0 GiB
           \- root.19:                                          Current used 
bytes: 2043.0 MiB, peak bytes:    2.0 GiB
              +- WholeStageIterator.19:                         Current used 
bytes: 2026.0 MiB, peak bytes: 2031.0 MiB
              |  \- single:                                     Current used 
bytes: 2026.0 MiB, peak bytes: 2026.0 MiB
              |     +- root:                                    Current used 
bytes: 2000.9 MiB, peak bytes: 2026.0 MiB
              |     |  +- task.Gluten_Stage_5_TID_9416_VTID_19: Current used 
bytes: 2000.9 MiB, peak bytes: 2026.0 MiB
              |     |  |  +- node.7:                            Current used 
bytes: 1951.9 MiB, peak bytes: 1952.0 MiB
              |     |  |  |  \- op.7.0.0.OrderBy:               Current used 
bytes: 1951.9 MiB, peak bytes: 1951.9 MiB
              |     |  |  +- node.1:                            Current used 
bytes:   32.2 MiB, peak bytes:  128.0 MiB
              |     |  |  |  \- op.1.0.0.Aggregation:           Current used 
bytes:   32.2 MiB, peak bytes:   98.7 MiB
              |     |  |  +- node.3:                            Current used 
bytes:   16.8 MiB, peak bytes: 1617.0 MiB
              |     |  |  |  +- op.3.1.0.HashBuild:             Current used 
bytes:    8.8 MiB, peak bytes: 1605.5 MiB
              |     |  |  |  \- op.3.0.0.HashProbe:             Current used 
bytes:    8.1 MiB, peak bytes:   16.1 MiB
              |     |  |  +- node.5:                            Current used 
bytes:    192.0 B, peak bytes:    2.0 MiB
              |     |  |  |  \- op.5.0.0.FilterProject:         Current used 
bytes:    192.0 B, peak bytes: 1560.0 KiB
              |     |  |  +- node.4:                            Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              |     |  |  |  \- op.4.0.0.FilterProject:         Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              |     |  |  +- node.8:                            Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              |     |  |  |  \- op.8.0.0.FilterProject:         Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              |     |  |  +- node.6:                            Current used 
bytes:      0.0 B, peak bytes: 1024.0 KiB
              |     |  |  |  \- op.6.0.0.FilterProject:         Current used 
bytes:      0.0 B, peak bytes:   24.0 KiB
              |     |  |  +- node.0:                            Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              |     |  |  |  \- op.0.0.0.ValueStream:           Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              |     |  |  \- node.2:                            Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              |     |  |     \- op.2.1.0.ValueStream:           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
              +- ShuffleReader.0:                               Current used 
bytes:    9.0 MiB, peak bytes:   16.0 MiB
              |  \- single:                                     Current used 
bytes:    9.0 MiB, peak bytes:   16.0 MiB
              |     +- root:                                    Current used 
bytes:  128.0 KiB, peak bytes: 1024.0 KiB
              |     |  \- default_leaf:                         Current used 
bytes:  128.0 KiB, peak bytes:  256.0 KiB
              |     \- gluten::MemoryAllocator:                 Current used 
bytes:  109.9 KiB, peak bytes:  541.9 KiB
              +- ArrowContextInstance.19:                       Current used 
bytes:    8.0 MiB, peak bytes:    8.0 MiB
              +- OverAcquire.DummyTarget.80:                    Current used 
bytes:      0.0 B, peak bytes:    2.4 MiB
              +- ArrowContextInstance.20:                       Current used 
bytes:      0.0 B, peak bytes:      0.0 B
              +- UniffleShuffleWriter.19:                       Current used 
bytes:      0.0 B, peak bytes:    8.0 MiB
              |  \- single:                                     Current used 
bytes:      0.0 B, peak bytes:    8.0 MiB
              |     +- 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
              +- IndicatorVectorBase#init.19:                   Current used 
bytes:      0.0 B, peak bytes:    8.0 MiB
              |  \- single:                                     Current used 
bytes:      0.0 B, peak bytes:    8.0 MiB
              |     +- 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
              +- VeloxBatchAppender.19:                         Current used 
bytes:      0.0 B, peak bytes:    8.0 MiB
              |  \- single:                                     Current used 
bytes:      0.0 B, peak bytes:    8.0 MiB
              |     +- 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
              +- OverAcquire.DummyTarget.79:                    Current used 
bytes:      0.0 B, peak bytes:    2.4 MiB
              +- OverAcquire.DummyTarget.78:                    Current used 
bytes:      0.0 B, peak bytes:  467.7 MiB
              +- OverAcquire.DummyTarget.77:                    Current used 
bytes:      0.0 B, peak bytes:    4.8 MiB
              \- OverAcquire.DummyTarget.76:                    Current used 
bytes:      0.0 B, peak bytes:    2.4 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