lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-12312) Replication's IndexFetcher buf size can be initialized smarter to not waste RAM/GC
Date Mon, 07 May 2018 19:16:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-12312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Smiley resolved SOLR-12312.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 7.4

> Replication's IndexFetcher buf size can be initialized smarter to not waste RAM/GC
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-12312
>                 URL: https://issues.apache.org/jira/browse/SOLR-12312
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: replication (java)
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: 7.4
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> IndexFetcher's constructor knows the size of the file it's going to transfer.  As-such,
it ought to initialize the "buf" field to no larger than this size.  This has been shown
to waste Java heap/GC in  an environment with lots of cores of small indexes and thus small
files.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message