Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51404

Improve log messages when aggregation stage hits the 100 MB limit

    • Query Execution

      Currently, when an aggregation stage hits 100 MB limit, we print:

      "errMsg": "Out of memory",      "errName": "JSInterpreterFailure",      "errCode": 139
      

      Suggested improvement:

      "errMsg" : "Exceeded 100 MB memory limit for <$aggregation stage>, but didn't allow external sort. Pass allowDiskUse:true to opt in."
      

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: