-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: JavaScript, Shell
-
None
-
Fully Compatible
-
ALL
When you run something like this:
var f = function() { var makeBigString = function(bigSize) { var bigStr = 'x'; while (bigStr.length < bigSize) { bigStr += bigStr; } return bigStr } var bigstr = makeBigString(1024*1024*20); return {a:bigstr}; }; db.eval(f); Object.bsonsize(f());
The places to check see to be in V8ToMongo (scripting/engine_v8.h/cpp), and other function which convert to BSON.
- is duplicated by
-
SERVER-11520 Large customData field asserts, without nice error message
- Closed
-
SERVER-11523 Roles with many duplicate linked roles assert, without nice error message
- Closed