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

Returning excessive results 64MB+ from aggregation gives a confusing error message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 2.1.1
    • Aggregation Framework
    • None

    Description

      The error message doesn't tell the user what they need to do to remedy the situation.

      > db.tweets.aggregate({$match: {}});
      {
      	"errmsg" : "exception: BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit.",
      	"code" : 13548,
      	"ok" : 0
      }

      Attachments

        Activity

          People

            cwestin Chris Westin
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: