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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.1.1
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      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
      }
      

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

              Created:
              Updated:
              Resolved: