Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
ALL
Description
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.
Attachments
Issue Links
- 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
-