"Enter"a basıp içeriğe geçin

MongoDb 32 mb limit hatası

Executor error during find command: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.

Yukarıdaki gibi hata alırsanız aşagıdaki işlemleri yapmanız yeterlidir.

mongo
use admin
db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes:50151432})