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

mongoimport cannot import a dump in json array format larger than 16MB

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.0
    • Affects Version/s: 2.2.0
    • Component/s: Tools
    • Labels:
    • Windows

      The following fails on 2.2.0. Seems to be related to https://jira.mongodb.org/browse/SERVER-6498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174809#comment-174809

      C:\>mongodb\bin\mongoimport.exe --collection collection --file file.json
      connected to: 127.0.0.1
      Mon Oct 15 15:08:15 exception:read error, or input line too long (max length: 16
      777216)
      Mon Oct 15 15:08:15
      Mon Oct 15 15:08:15 imported 0 objects
      Mon Oct 15 15:08:15 ERROR: encountered 1 error

            Assignee:
            sverch Shaun Verch
            Reporter:
            edgar88 edgar 88
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: