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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Service Arch

      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.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            2 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: