com.mongodb.MongoInternalException: DBObject of size 16777340 is over Max BSON size 16777216

JIRA | John Morales | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. com.mongodb.MongoInternalException

      DBObject of size 16777340 is over Max BSON size 16777216

      at com.mongodb.OutMessage.putObject()
    2. MongoDB Java Driver
      DB.command
      1. com.mongodb.OutMessage.putObject(OutMessage.java:291)
      2. com.mongodb.OutMessage.writeQuery(OutMessage.java:211)
      3. com.mongodb.OutMessage.query(OutMessage.java:84)
      4. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:285)
      5. com.mongodb.DB.command(DB.java:262)
      6. com.mongodb.DB.command(DB.java:229)
      7. com.mongodb.DB.command(DB.java:214)
      7 frames