GH-47009: [C#] ExportedAllocationOwner should use 64-bit integer to track total allocated memory.#47011
Conversation
…ple allocations to avoid integer overflow
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
|
|
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 7135199. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 47 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
Fixes #47009
What changes are included in this PR?
ExportedAllocationOwnernow uses a 64-bit (instead of 32-bit) variable to track total allocated memory.Are these changes tested?
yes
Are there any user-facing changes?
This PR contains a "Critical Fix".
Previously, it wasn't possible to export Record Batches larger than 2GB, it resulted in overflowing the integer variable that was used to track allocated memory.