S
S
sergeevpetro2016-11-01 16:33:20
MongoDB
sergeevpetro, 2016-11-01 16:33:20

Not enough memory to process the command. What are the limits?

Good day, comrades!
I am writing a program that interacts with MongoDB. An error occurred in the MongoDB server console when adding data "Not enough memory to process the command." I realized that the problem is that the 32-bit system.
When the program works on a 64-bit machine with 12GB of RAM, there hasn't been an error yet... but the question is... someday the size of the database will reach such a size that 12GB of RAM won't be enough. Increasing the RAM is not a solution. Somehow the developers should have foreseen such a moment?
I admit that I misunderstand something. I would like to know your opinion.
Those. the crux of the matter is that on a 64-bit machine there will come a moment when the RAM will run out and Mongo will die?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Philipp, 2016-11-01
@zoonman

It's time to learn map-reduce.

L
lega, 2016-11-01
@lega

When there is not enough server, they connect another one, sharding, clustering.
In theory, Monga should not be bent, it will simply slow down. indexes that do not fit into memory will lie on the disk.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question