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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            1 Vote for this issue
            Watchers:
            3 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

                Slack

                  Issue deployment