问题: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.