{"timestamp":1584239124980,"status":500,"error":"Internal Server Error","message":"Query failed with error code 9
{"timestamp":1584239124980,"status":500,"error":"Internal Server Error","message":"Query failed with error code 96 and error message "Executor error during find command :: caused by :: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit." on server 192.168.1.135:7315; nested exception is com.mongoDB.MonGoQueryException: Query failed with error code 96 and error message "Executor error during find command :: caused by :: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit." on server 192.168.1.135:7315","path":"/excel/screenResult"}
公司的mongoDB给设置了3G的内存使用。通过free top 。。。命令还是啥的我不知道,反正跟我说只用到了300m。但是还是出了这个500错误。
通过异常信息很清楚看出,排序部分内存有32m的限制,所以3G根本没用上,取消这个排序限制就ok了。
--结束END--
本文标题: mongodb分页显示错误解决过程
本文链接: https://www.lsjlt.com/news/4965.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-11
2024-05-11
2024-05-11
2024-05-11
2024-05-11
2024-05-11
2024-05-11
2024-05-11
2024-05-11
2024-05-11
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0