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

add a --memorySize option to mongod for limiting memory usage

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Storage
    • None
    • Storage Execution
    • Fully Compatible

    Description

      Currently we default the WiredTiger cache size based on the total amount of memory in the host. However, this doesn't work well when running multiple instances of mongod on the same host. The new option will also make it better possible to size other internal memory structures, such as the TCMalloc thread cache, based on available memory without requiring exposing all such details to the user.

      The --memorySize option allows one simple setting to communicate intent to limit total memory usage of mongod to the given number.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            2 Vote for this issue
            Watchers:
            21 Start watching this issue

            Dates

              Created:
              Updated: