[
https://issues.apache.org/jira/browse/SOLR-11583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132136#comment-18132136
]
Nick Shanin commented on SOLR-11583:
------------------------------------
[~noble.paul] Do you still need the container-free streaming read, and if so,
which response shape and allocation figures show the problem on current main?
🤖 AI-generated 🤖
> SolrJ to have a memory efficient mode for consuming response minimizing
> creating Objects
> ----------------------------------------------------------------------------------------
>
> Key: SOLR-11583
> URL: https://issues.apache.org/jira/browse/SOLR-11583
> Project: Solr
> Issue Type: Bug
> Reporter: Noble Paul
> Priority: Major
>
> A typical Solr response parsing creates so many objects that is just short
> lived , or sometimes used to just to be written down to the response.
> * Instead of creating Strings use CharSequence backed by reference to offsets
> in a byte array. If this String is to be written down the pipeline, just copy
> the bytes from the underlying byte array
> * read one object at a time and avoid construction of container objects such
> as Maps, Lists , NamedLists
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]