Is it possible to reduce the memory usage of MongoDB?

I am testing 64 bit MongoDB. If I set up large backups, then MongoDB memory usage seems high.

Is there any way to reduce the memory usage of MongoDB.

+5
source share
4 answers

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

Limit MongoDB memory usage on Windows without virtualization

+1
source

/etc/security/limits.conf

, :

@mongodb - rss 33554432

.

.

32 mongodb

+1

Do you mean memory usage or disk space? If you are really talking about memory, then Mongo saves its data in memory-mapped files, which creates the illusion of huge memory usage.

Here you will find additional information:

http://www.mongodb.org/display/DOCS/Checking+Server+Memory+Usage

0
source

All Articles