Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-63

mongoimport maximum object size applies to JSON object size rather than BSON object size

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: mongoimport
    • None

      When running mongoimport, there is a cap on the maximum size of a single object. It is set to 16MB, which would make sense if the limit applied to the size of the resulting BSON object (since that is our internal server limit), but it actually applies to the size of the JSON object being read by mongoimport. This results in situations where objects that would be a valid BSON object cannot be parsed. See example in "Steps to Reproduce".

            Assignee:
            adinoyi.omuya@mongodb.com Adinoyi Omuya
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: