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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   I am using arrow IPC file format to read the RecordBatch. In order to track 
the amount of memory allocated by RandomAccessFile and RecordBatchFileReader 
object, the ProxyMemoryPool was being used. So, that we can avoid reading too 
many files at once and put a limit on the memory allocation.
   
   However, I am into crash where the PooledBuffer is being destroyed and the 
ProxyMemoryPool object is destroyed already. From my understanding, this is the 
exact case documented here: 
https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/arrow/memory_pool.cc#L872-L879
   
   I can share the exact trace if needed. 
   
   ### Component(s)
   
   C++


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