-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.4.15
-
Component/s: None
-
None
-
ALL
-
I get a "BufBuilder attempted to grow() to 67108866 bytes, past the 64MB limit." error when trying to move a pipeline to be the only argument of a $FACET operator.
The whole pipeline works fine without the $FACET, there is a lot of data to return, but the $OUT operator is used.
However, once within the $FACET, the above is triggered, despite $OUT still being specified outside the $FACET.
$OUT cannot be used within the $FACET arguments, thus I either don't seem to have the necessary control over the problem, or the $OUT operator's settings are ignored within the embedded pipeline, and the intermediate results, which are returned from the constituent pipelines, are undergoing a "to document" conversion, as is the case with other mentions of this error message.
assert: command failed: { "ok" : 0, "errmsg" : "BufBuilder attempted to grow() to 67108866 bytes, past the 64MB limit.", "code" : 13548, "codeName" : "Location13548" } : aggregate failed _getErrorWithCode@src/mongo/shell/utils.js:25:13 doassert@src/mongo/shell/assert.js:16:14 assert.commandWorked@src/mongo/shell/assert.js:370:5 DBCollection.prototype.aggregate@src/mongo/shell/collection.js:1319:5 @(shell):1:1 2018-06-18T00:26:00.570+0100 E QUERY [thread1] Error: command failed: { "ok" : 0, "errmsg" : "BufBuilder attempted to grow() to 67108866 bytes, past the 64MB limit.", "code" : 13548, "codeName" : "Location13548" } : aggregate failed : _getErrorWithCode@src/mongo/shell/utils.js:25:13 doassert@src/mongo/shell/assert.js:16:14 assert.commandWorked@src/mongo/shell/assert.js:370:5 DBCollection.prototype.aggregate@src/mongo/shell/collection.js:1319:5 @(shell):1:1
- duplicates
-
SERVER-24804 Enable larger result sets within $facet stage
- Backlog