Details
Description
In MongoDB 1.8 and newer maxBsonObjectSize is 16MB but using mongoimport the limit is still 4MB due to the deprecated definition of BUF_SIZE. Check https://github.com/mongodb/mongo/blob/master/src/mongo/tools/import.cpp#L48
In MongoDB 1.8 and newer maxBsonObjectSize is 16MB but using mongoimport the limit is still 4MB due to the deprecated definition of BUF_SIZE. Check https://github.com/mongodb/mongo/blob/master/src/mongo/tools/import.cpp#L48