dafeiw commented on issue #35928:
URL: https://github.com/apache/arrow/issues/35928#issuecomment-1579131475

   Hi @lidavidm, thanks for your reply! The culprit of this issue is that we 
set `initReservation` to `Long.MaxValue` in one of child allocator.
   ```
   rootAllocator.newChildAllocator("FileWriter", Long.MaxValue, Long.MaxValue)
   ```  
   If I changed the `initReservation` to 0. I don't see the `RefCnt has gone 
negative error` anymore. 
   
   I'm still wondering how it relates to the issue. What's the best practice to 
configure the initReservation parameter? Do we always set it to 0?
   


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