Noble Paul created SOLR-11583:
---------------------------------

             Summary: 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
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Noble Paul


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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to