lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-11583) SolrJ to have a memory efficient mode for consuming response minimizing creating Objects
Date Tue, 31 Oct 2017 17:03:00 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message