zdavatz / ymeteor

Parsing Swissmedic, Pharmnet, HCP, DHCP, Chargenrückrufe, Drugshortages, PEI with Meteor
https://ywesee.com
GNU General Public License v3.0
4 stars 3 forks source link

UnhandledPromiseRejectionWarning: MongoError: Executor error during find command :: caused by :: Sort operation used more than the maximum 33554432 bytes of RAM. #58

Open zdavatz opened 3 years ago

zdavatz commented 3 years ago
  1. Run meteor --once --settings swissmedic.json
  2. Results in
    W20210112-10:29:40.333(1)? (STDERR) (node:2211) UnhandledPromiseRejectionWarning: MongoError: 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.
    W20210112-10:29:40.337(1)? (STDERR)     at Connection.<anonymous> (/home/zdavatz/.meteor/packages/npm-mongo/.3.8.1.144ec57.yd0d++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/core/connection/pool.js:451:61)
    W20210112-10:29:40.338(1)? (STDERR)     at Connection.emit (events.js:314:20)
    W20210112-10:29:40.339(1)? (STDERR)     at Connection.EventEmitter.emit (domain.js:483:12)
    W20210112-10:29:40.340(1)? (STDERR)     at processMessage (/home/zdavatz/.meteor/packages/npm-mongo/.3.8.1.144ec57.yd0d++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/core/connection/connection.js:452:10)
    W20210112-10:29:40.340(1)? (STDERR)     at Socket.<anonymous> (/home/zdavatz/.meteor/packages/npm-mongo/.3.8.1.144ec57.yd0d++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/core/connection/connection.js:621:15)
    W20210112-10:29:40.340(1)? (STDERR)     at Socket.emit (events.js:314:20)
    W20210112-10:29:40.341(1)? (STDERR)     at Socket.EventEmitter.emit (domain.js:483:12)
    W20210112-10:29:40.341(1)? (STDERR)     at addChunk (_stream_readable.js:297:12)
    W20210112-10:29:40.342(1)? (STDERR)     at readableAddChunk (_stream_readable.js:272:9)
    W20210112-10:29:40.342(1)? (STDERR)     at Socket.Readable.push (_stream_readable.js:213:10)
    W20210112-10:29:40.343(1)? (STDERR)     at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
    W20210112-10:29:40.343(1)? (STDERR)  => awaited here:
    W20210112-10:29:40.343(1)? (STDERR)     at Function.Promise.await (/home/zdavatz/.meteor/packages/promise/.0.11.2.1jju96c.li1k++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:56:12)
    W20210112-10:29:40.344(1)? (STDERR)     at packages/mongo/mongo_driver.js:1073:14
    W20210112-10:29:40.344(1)? (STDERR)     at /home/zdavatz/.meteor/packages/promise/.0.11.2.1jju96c.li1k++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
    W20210112-10:29:40.346(1)? (STDERR)  => awaited here:
    W20210112-10:29:40.346(1)? (STDERR)     at Promise.await (/home/zdavatz/.meteor/packages/promise/.0.11.2.1jju96c.li1k++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:60:12)
    W20210112-10:29:40.346(1)? (STDERR)     at SynchronousCursor._nextObject (packages/mongo/mongo_driver.js:1122:38)
    W20210112-10:29:40.347(1)? (STDERR)     at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1136:22)
    W20210112-10:29:40.347(1)? (STDERR)     at SynchronousCursor.map (packages/mongo/mongo_driver.js:1146:10)
    W20210112-10:29:40.348(1)? (STDERR)     at SynchronousCursor.fetch (packages/mongo/mongo_driver.js:1170:17)
    W20210112-10:29:40.348(1)? (STDERR)     at Cursor.<computed> [as fetch] (packages/mongo/mongo_driver.js:918:44)
    W20210112-10:29:40.349(1)? (STDERR)     at Object.Swiss.getItems (server/swissmedic-o.js:80:31)
    W20210112-10:29:40.349(1)? (STDERR)     at server/swissmedic-o.js:218:31
    W20210112-10:29:40.350(1)? (STDERR)     at /home/zdavatz/.meteor/packages/promise/.0.11.2.1jju96c.li1k++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
    W20210112-10:29:40.350(1)? (STDERR)  => awaited here:
    W20210112-10:29:40.350(1)? (STDERR)     at Function.Promise.await (/home/zdavatz/.meteor/packages/promise/.0.11.2.1jju96c.li1k++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:56:12)
    W20210112-10:29:40.351(1)? (STDERR)     at server/swissmedic-o.js:172:9
    W20210112-10:29:40.351(1)? (STDERR)     at /home/zdavatz/.meteor/packages/promise/.0.11.2.1jju96c.li1k++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
    W20210112-10:29:40.352(1)? (STDERR) (node:2211) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
    W20210112-10:29:40.353(1)? (STDERR) (node:2211) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.