On Sat, 15 Apr 2017 23:08:19 GMT, Carl Sturtivant wrote:

Just hit this error message when executing a mongodb insert.

BSONObj size: 18850036 (0x11FA0F4) is invalid. Size must be between 0 and 16793600(16MB)

There seems to be a 16MB limit on the size of a BSONobj passed mongodb. For now I'd like to increase this limit and carry on. Is there a simple way to achieve this?

I'm pretty sure that this is unfortunately a fixed limit. See also https://docs.mongodb.com/manual/reference/limits/#bson-documents