kevinjqliu commented on PR #13976: URL: https://github.com/apache/iceberg/pull/13976#issuecomment-3255911258
> Child allocators are not strictly required, but can help better organize code. For instance, a lower memory limit can be set for a particular section of code. **The child allocator can be closed when that section completes, at which point it checks that that section didn’t leak any memory.** Child allocators can also be named, which makes it easier to tell where an ArrowBuf came from during debugging. from https://arrow.apache.org/docs/java/memory.html#bufferallocator -- 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]
