Troubleshooting
Common Errors
If you see an error about a "Sort operation using more than x bytes of RAM" you likely did not specify a query and as a result it is unable to perform the search on such a large amount of data.
(OperationFailed) Executor error during find command :: caused by :: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.
To resolve, use a query such as adding canonical: true
to limit the results returned, and to use the pre-defined indexes.
Was this page helpful?