title: How to import a large json file into Mongodb?
body: <p>I have a big json file (~ 300GB) which is composed of many of dicts in it and I am trying to import this file into MongoDB. The method that I tried was mongoimport by using this:
  <code>mongoimport --db &lt;DB_NAME&gt; --collection &lt;COLLECTION_NAME&gt; --file &lt;FILE_DIRECTORY&gt; --jsonArray --batchSize 1</code>
  but it shows the error something like this after some insertions <code>Failed: error processing document #89602: unexpected EOF</code>. I have no idea why it happens.</p>
  <p>Any other methods to make it work?</p>