Open luvemanates opened 3 months ago
Here is an output of the error
/usr/local/lib/ruby/gems/3.2.0/gems/mongo-2.20.0/lib/mongo/operation/result.rb:364:in `raise_operation_failure': [292:QueryExceededMemoryLimitNoDiskUseAllowed]: Executor error during find command :: caused by :: Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting. (on localhost:27017, modern retry, attempt 1) (Mongo::Error::OperationFailure)
Did some research, and currently I'm using Mongo 5. allowDiskUse is automatically set to true in future version of Mongo, so logging this ticket to note that something higher than Mongo 5 needs to be used for larger data sets.