jainankitk opened a new issue, #14112: URL: https://github.com/apache/lucene/issues/14112
### Description While doing some experiments with big5 workload on Opensearch, I noticed significant ByteArrayDataInput allocations during aggregation query execution. I noticed the allocations were coming from `Lucene90DocValuesProducer$TermsDict.decompressBlock`. I used below query for this experiment: ``` POST big5/_search?request_cache=false { "size": 0,"aggs": {"agent": {"cardinality": {"field": "event.id"}}}} ``` This is the snapshot from allocation flamegraph: <img width="1365" alt="Screenshot 2025-01-07 at 10 47 25 PM" src="https://github.com/user-attachments/assets/d7c037e9-24a9-415d-8643-9d880b280fcc" /> -- 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-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org