-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.3.2
-
Component/s: JavaScript
-
None
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
This was encountered while debugging a memory leak in v8, and can be reproduced in the shell or server w/ db.eval().
var mongo = new Mongo(); for (var i = 0; i<10000; i++) { var res = mongo.find("test.a", {b:new Array(10240).toString()}, {a:1}, 0, 0, 0, 0); } gc();