You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Description
Similarly to #12459, When reading a binary stored field, we allocate a byte[] in memory in order to read it:
lucene/lucene/core/src/java/org/apache/lucene/codecs/lucene90/compressing/Lucene90CompressingStoredFieldsReader.java
Line 243 in 008a0d4
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.
The text was updated successfully, but these errors were encountered: