askoa opened a new pull request, #4351: URL: https://github.com/apache/arrow-datafusion/pull/4351
# Which issue does this PR close? Part of #4328 # What changes are included in this PR? Included a check to avoid underflow when available memory is calculated when consumers request additional memory. The trackers acquire memory independent of `MemoryManager` and communicates the memory acquired using the function `grow_tracker_usage`. The tracker can end up allocating more memory than what is defined in `MemoryManager.pool_size` This PR does not prevent trackers from allocating more memory than what is defined in `MemoryManager.pool_size`. Might be a candidate for future refactoring. # Are these changes tested? Added a test to avoid underflow. -- 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]
