开发程序报错信息: Caused by: com.mongodb.MongoException: Executor error: OperationFailed: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit. 从程序报错中可以看到是排序的内存不足。 解决办法…
1、打开首选项配置 2、选择全局的 3、填写自己的代码块
{// Place your 全局 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable…