Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12312

Replication's IndexFetcher buf size can be initialized smarter to not waste RAM/GC

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: replication (java)
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Wayne Smiley
                Reporter:
                dsmiley David Wayne Smiley
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m