I am working with Matlab + the Java driver. I want to write some really big data into my MongoDB on my PC.
I want to write data via
doc = BasicDBObject();
into the DB. Writing small data into the DB is working fine, but I have a problem with big data.
The data I want to write into the matrix is a matrix of 11,000,000x1.
Because of limitations of BSON and MongoDB driver I get always the error:
Error using mongodb_test (line 152)
Java exception occurred:
com.mongodb.MongoInternalException: DBObject of size 199421593 is over Max BSON size 16777216
How can I store such a big file in the DB. The bandwith is not the big problem, because I am working in a local network. What can I change on the MongoDB driver or in bson for a successfull run?