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

JIRA | Tobias Mas | 3 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    [mongodb-user] BSON size limit exception

    Google Groups | 5 years ago | chenshangan521
    com.mongodb.MongoInternalException: DBObject of size 17997480 is over Max BSON size 16777216

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mongodb.MongoInternalException

      DBObject of size 199421593 is over Max BSON size 16777216

      at com.mongodb.OutMessage.putObject()
    2. MongoDB Java Driver
      DBCollection.insert
      1. com.mongodb.OutMessage.putObject(OutMessage.java:291)
      2. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:239)
      3. com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:204)
      4. com.mongodb.DBCollection.insert(DBCollection.java:148)
      5. com.mongodb.DBCollection.insert(DBCollection.java:91)
      5 frames