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

Allow reading binary stored values as DataInput #12556

Closed
iverase opened this issue Sep 15, 2023 · 0 comments · Fixed by #12581
Closed

Allow reading binary stored values as DataInput #12556

iverase opened this issue Sep 15, 2023 · 0 comments · Fixed by #12581

Comments

@iverase
Copy link
Contributor

iverase commented Sep 15, 2023

Description

Similarly to #12459, When reading a binary stored field, we allocate a byte[] in memory in order to read it:

Blindly allocating those arrays are dangerous as the allocations can be humongous and will put pressure on the GC. I wonder if we can provide this value so the user can decide the best way to serialize this value into memory.

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

Successfully merging a pull request may close this issue.

1 participant