Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track the size of custom allocations for use via Array::get_buffer_memory_size #5347

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

jhorstmann
Copy link
Contributor

Which issue does this PR close?

Closes #5346.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

The size of custom allocations previously was always reported as 0. Users might have relied on that, or if they kept track of custom allocations themselves, would now get reports of twice the memory size.

This also affected the reported size for arrays created via FFI.

…e reported via Array::get_buffer_memory_size
@github-actions github-actions bot added the arrow Changes to the arrow crate label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buffer memory usage for custom allocations is reported as 0
3 participants