lakshaydevoo-arch commented on PR #27334:
URL: https://github.com/apache/datafusion/pull/27334#issuecomment-7046405901

   @vinycalves  i'm using the same RecordBatchMemoryCounter across both steps, 
so buffers that have already been counted aren't counted again. i'll 
double-check the sliced array case to make sure that behaviour holds there too.
   
   for allocation failures, the key and map reservations are separate 
RAII-managed reservations. if map allocation fails, the function returns with 
an error and the reservations are dropped, so the memory accounting should be 
released.


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