Improve log messages when aggregation stage hits the 100 MB limit

XMLWordPrintableJSON

    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Dmitry Agranat
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: