Details
Description
If your query needs an in-memory sort and that requires more than 32 MiB (by default) you'll get a generic error:
Error: error: {
|
"ok" : 0,
|
"errmsg" : "Executor error during find command :: caused by :: errmsg: \"Sort operation used more than the maximum 1048576 bytes of RAM. Add an index, or specify a smaller limit.\"",
|
"code" : 96,
|
"codeName" : "OperationFailed"
|
}
|
It'd be nice if this had a more specific error that you could programmatically match on.
Attachments
Issue Links
- is depended on by
-
SERVER-46109 Adopt QueryExceededMemoryLimitNoDiskUseAllowed error code
-
- Closed
-