You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/05/07 19:16:00 UTC
[jira] [Resolved] (SOLR-12312) Replication's IndexFetcher buf size
can be initialized smarter to not waste RAM/GC
[ 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