Skip to content

Provide Access to Reader's Current Memory Usage #1031

Open
@rmarrowstone

Description

@rmarrowstone

I've been working on integrating Ion with Trino (fwiw trinodb/trino#24511 ).

The Trino Decoding APIs want to know the total memory currently used by the underlying decoder. So I would like a method to get an estimate of used memory by an IonReader. That would include any data buffers and symbol table/encoding context memory usage.

I expect that this could be some sort of Facet, like MemoryUsageAware idk.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions