marin-ma commented on issue #9836:
URL: 
https://github.com/apache/incubator-gluten/issues/9836#issuecomment-2937110339

   Currently all operations allocating arrow memory are using the same pool 
   
https://github.com/apache/incubator-gluten/blob/d00a12b8cae83a234c558c0c64700ce13c7b596d/cpp/velox/memory/VeloxMemoryManager.h#L81-L83
   
   To merge the functionalities we may need to:
   1. Count memory allocation in `ArrowMemoryPool`
   2. Add an API to support creating new `ArrowMemoryPool` to be used by the 
caller and manage their lifecycles in `VeloxMemoryManager`. The 
`ArrowMemoryPool` instances shares the same `ListenableMemoryAllocator`
   
   @zhztheplayer Do you have any suggestions?


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