Skip to content

[EPIC] Memory Pool for Memory Tracking #8137

@alamb

Description

@alamb

The arrow crate's use of shared Buffer allows for fast and memory efficient implementation for operations such as "slice" because slicing is simply a view to the same Buffer

However it creates problems for memory management when there is more than one Array pointing at the same underlying buffer as it is not always clear how much memory should be "charged" to any particular Array and it is hard to avoid double counting buffers when they are shared

@waynexia is adding a new MemoryPool API and this ticket tracks the progress, for visibility and hopefully so others can contribute a bit more to the project

Tasks / PRs

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions