Organizational Research By

Surprising Reserch Topic

is it possible to reduce the mongodb memory usage

is it possible to reduce the mongodb memory usage  using -'mongodb'

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.

asked Oct 6, 2015 by rajeshujade
0 votes

Related Hot Questions

3 Answers

0 votes

For Windows it seems possible to control the amount of memory MongoDB uses, see this tutorial at Captain Codeman:

Limit MongoDB memory use on Windows without Virtualization

answered Oct 6, 2015 by vibhorsingh
0 votes

Update /etc/security/limits.conf

Add a line as below:

@mongodb - rss 33554432

and then save the file.

It will take effects right away.

In this example, we assign 32GB memory usage for mongodb group users

answered Oct 6, 2015 by shikhar jain
0 votes

Do you mean memory usage or disk space? If you are really talking about memory, then Mongo stores its data in memory-mapped files, giving the illusion of massive memory usage.

You will find more information here:

answered Oct 6, 2015 by sumit_jaiswalmca