kevinjqliu commented on PR #13976:
URL: https://github.com/apache/iceberg/pull/13976#issuecomment-3255931752

   if we always use a child allocator and always close the child allocator, we 
wont have memory leaks...
   
   i wonder if we should change `ArrowAllocation.rootAllocator()` to just 
return a child allocator and never expose the ROOT_ALLOCATOR
   
https://github.com/apache/iceberg/blob/173d4c32840e1be1efb559a174e8b97a0e62fb98/arrow/src/main/java/org/apache/iceberg/arrow/ArrowAllocation.java#L23-L35
   
   just a thought 🤷 


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