MongoDB service went down due to an error - BSONObjectTooLarge

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 6.0.15
    • Component/s: None
    • None
    • Networking & Observability
    • ALL
    • N&O 2025-04-28, N&O 2025-05-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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”}}

        1. logs.2025-03-24T00-45-02.crash
          12 kB
        2. record-sizes.png
          record-sizes.png
          75 kB
        3. sizes.png
          sizes.png
          113 kB

            Assignee:
            Unassigned
            Reporter:
            Bharath R M
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: