mongodb query crash on transaction pool
from bot
bcoterminate called after throwing an instance of 'mongocxx::v_noabi::query_exception'
what(): 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.: generic server error
from mongodb
2019-09-26T11:35:05.329+0200 E QUERY [conn324] Plan executor error during find command: FAILURE, stats: { stage: "PROJECTION", nReturned: 0, executionTimeMillisEstimate: 220, works: 60417, advanced: 0, needTime: 60416, needYield: 0, saveState: 472, restoreState: 472, isEOF: 0, invalidates: 0, transformBy: { _id: 0 }, inputStage: { stage: "SORT", nReturned: 0, executionTimeMillisEstimate: 210, works: 60417, advanced: 0, needTime: 60416, needYield: 0, saveState: 472, restoreState: 472, isEOF: 0, invalidates: 0, sortPattern: { transaction.fees: -1 }, memUsage: 33554667, memLimit: 33554432, inputStage: { stage: "SORT_KEY_GENERATOR", nReturned: 60415, executionTimeMillisEstimate: 180, works: 60416, advanced: 60415, needTime: 1, needYield: 0, saveState: 472, restoreState: 472, isEOF: 0, invalidates: 0, inputStage: { stage: "FETCH", filter: { blockId: { $eq: null } }, nReturned: 60415, executionTimeMillisEstimate: 80, works: 60415, advanced: 60415, needTime: 0, needYield: 0, saveState: 472, restoreState: 472, isEOF: 0, invalidates: 0, docsExamined: 60415, alreadyHasObj: 0, inputStage: { stage: "IXSCAN", nReturned: 60415, executionTimeMillisEstimate: 10, works: 60415, advanced: 60415, needTime: 0, needYield: 0, saveState: 472, restoreState: 472, isEOF: 0, invalidates: 0, keyPattern: { blockId: 1 }, indexName: "blockId_1", isMultiKey: false, multiKeyPaths: { blockId: [] }, isUnique: false, isSparse: false, isPartial: false, indexVersion: 2, direction: "forward", indexBounds: { blockId: [ "[null, null]" ] }, keysExamined: 60415, seeks: 1, dupsTested: 0, dupsDropped: 0, seenInvalidated: 0 } } } } }
2019-09-26T11:35:05.365+0200 I COMMAND [conn324] command testnet.transactions command: find { find: "transactions", filter: { blockId: null }, projection: { _id: 0 }, sort: { transaction.fees: -1 }, $db: "testnet", $readPreference: { mode: "primaryPreferred" }, lsid: { id: UUID("5286a578-256d-4ffb-8272-f58595a503a2") } } planSummary: IXSCAN { blockId: 1 } numYields:472 reslen:234 locks:{ Global: { acquireCount: { r: 946 } }, Database: { acquireCount: { r: 473 } }, Collection: { acquireCount: { r: 473 } } } protocol:op_msg 263ms
2019-09-26T11:35:05.486+0200 I NETWORK [conn324] end connection 127.0.0.1:50506 (0 connections now open)