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

Improve log messages when aggregation stage hits the 100 MB limit

    XMLWordPrintableJSON

Details

    • Query Execution

    Description

      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."
      

      Attachments

        Issue Links

          Activity

            People

              backlog-query-execution Backlog - Query Execution
              dmitry.agranat@mongodb.com Dmitry Agranat
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: