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

Provide Access to Reader's Current Memory Usage #1031

Open
rmarrowstone opened this issue Jan 15, 2025 · 0 comments
Open

Provide Access to Reader's Current Memory Usage #1031

rmarrowstone opened this issue Jan 15, 2025 · 0 comments

Comments

@rmarrowstone
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant