swallez opened a new issue, #1051:
URL: https://github.com/apache/arrow-java/issues/1051

   ### Describe the enhancement requested
   
   `FlightClient` [always creates a child 
allocator](https://github.com/apache/arrow-java/blob/7cbf15994ae7c82fbcb178dded6b3f128219d9ad/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightClient.java#L86).
 While this is good in the general case to track memory leaks, this prevents 
usage scenarios where vectors live longer than the Flight client.
   
   What about adding a `FlightClient.Builder#createChildAllocator(boolean)` 
that would allow users to choose whether they want a child allocator (current 
behavior which will be the default) or directly use the provided one?
   
   I can create a PR for this.


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

Reply via email to