Suppose your aggregation pipeline terminated with an exception referring to exceeded memory limit. What is the best way to resolve the issue?

  •  Set useMemory to twice amount indicated in exception.
  •  Switch a 64 bit instance of MongoDB.
  •  Increase the memory of the MongoDB server.
  •  Set allowDiskUse to true.

Leave a Reply

Your email address will not be published. Required fields are marked *