I am undergoing testing with 64-bit MongoDB. If I configure large size backups then the MongoDB memory utilization seems to be high.
Is there any possibility to reduce the memory utilization by MongoDB.
And by default, MongoDB will reserve 50% of the available memory – 1 GB for the WiredTiger cache or 256 MB whichever is greater. For example, a system with 16 GB of RAM, would have a WiredTiger cache size of 7.5 GB. The size of this cache is important to ensure WiredTiger is performant.
Does MongoDB handle caching? Yes. MongoDB keeps most recently used data in RAM.
Starting in MongoDB 3.4, the default WiredTiger internal cache size is the larger of either: 50% of (RAM - 1 GB), or. 256 MB.
You can inspect mem. mapped to check the amount of mapped memory that mongod is using. If this value is greater than the amount of system memory, some operations will require a page faults to read data from disk.
Is it ideal that MongoDB is using 150 MB memory?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With