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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.4
    • replication (java)
    • 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

              dsmiley David Smiley
              dsmiley David 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