-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.27
-
Component/s: None
-
Labels:
-
Environment:Debian Wheezy x64, mongodb 2.6.3
-
Empty show more show less
I try to insert array of 150000 items to my collection using insert() and insertMany() methods of Node.js driver, but I get an exception "server 127.0.0.1:27017 sockets closed". MongoDB log contains line "AssertionException handling request, closing client connection: 10334 BSONObj size: 39263551 (0x2571D3F) is invalid. Size must be between 0 and 16793600(16MB)". Python's driver (pymongo) manages this task perfectly. Is it expected behaviour?