lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-12312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16466326#comment-16466326
] 

ASF subversion and git services commented on SOLR-12312:
--------------------------------------------------------

Commit 93f9cc71b127b84c432bf40e115fd4afe689bd8a in lucene-solr's branch refs/heads/branch_7x
from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=93f9cc7 ]

SOLR-12312: Replication's IndexFetcher buf size should be initialized
to an amount no greater than the size of the file being transferred.

(cherry picked from commit 81f6112)


> 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
>          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