Skip to content

Does arrow-rs support tracking buffer memory usage? #5916

Closed Answered by tustvold
jp0317 asked this question in Q&A
Discussion options

You must be logged in to vote

We provide methods to get the allocated size of buffers in arrays and these can be hooked into a memory tracking system. DataFusion has examples of this. We don't provide anything first-party in part because Rust doesn't have stable support for custom allocators which would be the ideal way to provide this functionality.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Jefffrey
Comment options

You must be logged in to vote
1 reply
@tustvold
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants