Work-around for .find().sort() and QueryExceededMemoryLimitNoDiskUseAllowed #10177
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
When using a
.find().sort().exec()
on a large table I get aQueryExceededMemoryLimitNoDiskUseAllowed
exception:I read that for aggregations I can just use
.allowDiskUse(true)
. Is this not available for.find().sort()
?mongodb 4.4
node v15.14.0
mongoose 5.12.5
The text was updated successfully, but these errors were encountered: