-
Type: Task
-
Resolution: Works as Designed
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
Empty show more show less
-
Not Needed
I'm getting errors with node mongodb native driver version 4 but it doesn't show me which file in my project is generating the error, this way I can't fix the error. I need to know how to make mongoError show me the file that is generating the error.
MongoServerError: Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting. Aborting operation. Pass allowDiskUse:true to opt in.
2|mainServer_dev | at MessageStream.messageHandler (/root/a3menage.com/node_modules/mongodb/lib/cmap/connection.js:470:30)
2|mainServer_dev | at MessageStream.emit (events.js:315:20)
2|mainServer_dev | at MessageStream.EventEmitter.emit (domain.js:467:12)
2|mainServer_dev | at processIncomingData (/root/a3menage.com/node_modules/mongodb/lib/cmap/message_stream.js:108:16)
2|mainServer_dev | at MessageStream._write (/root/proj/node_modules/mongodb/lib/cmap/message_stream.js:28:9)
2|mainServer_dev | at writeOrBuffer (internal/streams/writable.js:358:12)
2|mainServer_dev | at MessageStream.Writable.write (internal/streams/writable.js:303:10)
2|mainServer_dev | at TLSSocket.ondata (internal/streams/readable.js:719:22)
2|mainServer_dev | at TLSSocket.emit (events.js:315:20)
2|mainServer_dev | at TLSSocket.EventEmitter.emit (domain.js:467:12)
- related to
-
NODE-3010 AsyncLocalStorage store is lost on callbacks (works with promises)
- Closed