Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101459

MongoDB service went down due to an error - BSONObjectTooLarge

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.0.15
    • Component/s: None
    • None
    • ALL

      My MongoDB service went down due to an error - BSONObjectTooLarge, which occurs when a single document exceeds the 16MB limit. Has anyone else encountered this error, or is it a bug? Does anyone know a solution for it?

      MongoDB version: 6.0.15
      Operating system: Ubuntu 22.04.4, arm64

      {“t”:\{“$date”:“2025-02-15T15:01:12.082+00:00”}

      ,“s”:“E”, “c”:“ASSERT”, “id”:23077, “ctx”:“ftdc”,“msg”:“Assertion”,“attr”:{“error”:“BSONObjectTooLarge: BSONObj size: 17041110 (0x10406D6) is invalid. Size must be between 0 and 16793600(16MB) First element: start: new Date(1739631671000)”,“file”:“src/mongo/bson/bsonobj.cpp”,“line”:101}}

      {“t”:\{“$date”:“2025-02-15T15:01:12.084+00:00”}

      ,“s”:“F”, “c”:“CONTROL”, “id”:6384300, “ctx”:“ftdc”,“msg”:“Writing fatal message”,“attr”:{“message”:“terminate() called. An exception is active; attempting to gather more information\n”}}

            Assignee:
            rajesh.patil@mongodb.com Rajesh Patil
            Reporter:
            bharath.rm@moengage.com Bharath R M
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: