engimatic opened a new issue, #34021:
URL: https://github.com/apache/arrow/issues/34021

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   When I use arrow flight like this,and call do_get method many 
times,allocator allocated memory always increase.How and when should I do?
   ```
   try (BufferAllocator allocator = new RootAllocator()) {
               // Server
               try (final CookbookProducer producer = new 
CookbookProducer(allocator, location);
                    final FlightServer flightServer = 
FlightServer.builder(allocator, location, producer).build()) {
                   try {
                       flightServer.start();
                       System.out.println("S1: Server (Location): Listening on 
port " + flightServer.getPort());
                   } catch (IOException e) {
                       throw new RuntimeException(e);
                   }
               }
           }
   ```
   
   ### Component(s)
   
   Java


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