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

Allow For Cache Sizes In MBs, from Config File

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.2.7
    • Component/s: WiredTiger
    • None
    • ALL

      Currently, to set the WiredTiger cache size in MBs, rather than GBs, we're forced to do so via a commandline option (which isn't listed in the docs, or via mongod --help). This makes the assumption that nearly everyone using MongoDB has or needs large server requirements to work with, and ignores users who run services/sites/application from smaller setups (in particular, VMs).

      Also, as mentioned, the command arg to limit the size to MBs isn't listed, and I found it on the mongodb-user google group page:

      https://groups.google.com/forum/#!msg/mongodb-user/V2Q4LZAe2m0/pqNSu4psDQAJ

      Specifically: --wiredTigerEngineConfigString="cache_size=xxxM"

            Assignee:
            Unassigned Unassigned
            Reporter:
            antonio-malcolm Antonio Malcolm
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: