[As per our docs|https://docs.opsmanager.mongodb.com/current/core/requirements/], you need 15 GB for the OpsManager Application, 15 GB for the Backup Daemon, 8 GB for the Monitoring Database, and for the Backup Database, it is dependent on the amount of data being backed up. So if you are running the OpsManager Application and Monitoring Database, you should have at least 23 GB of memory available.
Hi Mike,
The quoted response that you posted is the recommended memory requirements for OpsManager Application which is part of the Enterprise package.
If your company already has a commercial subscription and you have further questions about running OpsManager I would suggest to open a case in the Commercial Support Project in MongoDB Jira.
If you are referring to MongoDB itself - MongoDB will use available free memory for caching, and swap to disk as needed to yield memory to other applications on the same server.
To calculate how much RAM you need, you must calculate your working set size, or the portion of your data that clients use most often. This depends on your access patterns, what indexes you have, and the size of your documents. For the best performance you will want to have enough RAM to keep your indices and working set in memory.
For more information about RAM requirements:
Regards,
Wan.
If mongod is caching 60% of memory at startup and never tries to allocate more, then dynamic memory allocation will not work for it at all.
Hi Dan,
I assumed by 60% of memory at startup, you are referring to wiredTigerCache size which is the default in MongoDB v3.2.
Note that wiredTigerCache is only for the size limit of the WiredTiger cache - this is not the total amount of memory used by mongod. mongod will automatically use all free memory on the machine via the filesystem cache. See also Memory diagnostics for WiredTiger.
In regards to virtualisation, generally anything that misleads about the memory availability will tend to cause performance issues under memory pressure.
For more information see: Production notes: VMWare and Understanding VMWare ballooning.
Also note that the original post on this thread is in relation to Ops Manager, if you still have further questions please open a new thread discussion detailing your environment and use case.
Kind regards,
Wan.