You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "dafeiw (via GitHub)" <gi...@apache.org> on 2023/06/06 16:55:14 UTC

[GitHub] [arrow] dafeiw commented on issue #35928: [Java] RefCnt has gone negative error

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org