You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "iverase (via GitHub)" <gi...@apache.org> on 2023/09/15 09:39:45 UTC
[GitHub] [lucene] iverase opened a new issue, #12556: Allow reading binary stored values as DataInput
iverase opened a new issue, #12556:
URL: https://github.com/apache/lucene/issues/12556
### Description
Similarly to https://github.com/apache/lucene/issues/12459, When reading a binary stored field, we allocate a byte[] in memory in order to read it:
https://github.com/apache/lucene/blob/008a0d420635239570e09e0862a357f512781c60/lucene/core/src/java/org/apache/lucene/codecs/lucene90/compressing/Lucene90CompressingStoredFieldsReader.java#L243
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene] iverase closed issue #12556: Allow reading binary stored values as DataInput
Posted by "iverase (via GitHub)" <gi...@apache.org>.
iverase closed issue #12556: Allow reading binary stored values as DataInput
URL: https://github.com/apache/lucene/issues/12556
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org