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.
Is it ideal that MongoDB uses 150 MB of memory?
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
/etc/security/limits.conf
, :
@mongodb - rss 33554432
.
32 mongodb
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