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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • None
    • mongoimport
    • None

    Description

      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".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: