MongoDB OperationFailed: Sort operation used more than the maximum bytes of RAM

by Web全栈工程师 on 2016 年 02 月 28 日

问题:MongoDB: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM
原因:MongoDB 内存限制
解决办法:
进入MongoDB管理命令行,执行

db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes: })

参考资料:
https://docs.mongodb.com/manual/reference/operator/aggregation/sort/#sort-memory-limit
https://docs.mongodb.com/manual/reference/limits/#Sorted-Documents

Comments on this entry are closed.

Previous post:

Next post: