Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25318

Limit total memory utilization for bulk index builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.13, 3.4.0-rc3
    • Component/s: Indexing, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL
    • Backport Requested:
      v3.2
    • Sprint:
      Storage 2016-11-21
    • Linked BF Score:
      0

      Description

      A bulk index build of multiple indexes on a collection, for example using createIndexes, or during an initial sync, will use up to 100 MB of memory per index, or up to 6400 MB of memory total (given the limit of 64 indexes per collection). This can lead to out-of-memory on smaller machines. We should limit the total memory used on smaller machines by reducing the amount of memory used per index build, and/or limiting the number of simultaneous index builds.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                25 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: