Commit 7135199
authored
### Rationale for this change
Fixes #47009
### What changes are included in this PR?
`ExportedAllocationOwner` now 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.
* GitHub Issue: #47009
Authored-by: Marcin Krystianc <[email protected]>
Signed-off-by: Curt Hagenlocher <[email protected]>
1 parent 73472a9 commit 7135199
File tree
2 files changed
+30
-1
lines changed- csharp
- src/Apache.Arrow/Memory
- test/Apache.Arrow.Tests
2 files changed
+30
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
113 | 142 | | |
114 | 143 | | |
0 commit comments