mongodb - Error 10334 "BSONObj size is invalid" when importing a back up with mongorestore -


i have mongodb collection backup containing many small documents. produced mongodump, when try import using mongorestore error:

assertionexception handling request, closing client connection: 10334 bsonobj size: 18039019 (0x11340eb) invalid. size must between 0 , 16793600(16mb)

i'm running mongodb version 3.0.3 (from trunk).

using --batchsize=100 fixes issue me every time.

e.g. mongorestore -d my-database --batchsize=100 ./database-dump-directory


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -