luvemanates / matchthat

A ruby on rails application that allows users to value an idea, or experience that can be matched in terms of a currency so that people can come together and share ideas and experiences that can be matched by anyone. When matches are agreed to it creates matchcoin for tracking the value of what happens to an idea that is matched.
MIT License
0 stars 0 forks source link

Mongodb 5 is complaining about too much space being used without using the disk #14

Open luvemanates opened 3 months ago

luvemanates commented 3 months ago

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.

luvemanates commented 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)