title: Elasticsearch Bulk Index no Error
body: <p>I am running the code below on the cmd line (Windows) to bulk index about 3 million docs, but nothing happens. I run it and one second later it is done with no output and the index is not even created. </p>
  
  <pre><code> curl -H "Content-Type: application/json" -XPOST "localhost:9200/test1/_doc/_bulk" --data-binary "@huge_JSON"
  </code></pre>
  
  <p>I run the same line on a few lines of this document and it works fine. </p>
  
  <p>Also running it on a file with 300k documents works.</p>
  
  <p>Why is it not working and not giving an error?</p>
  
  <p>Edit: 
  For whatever reason I now get the error:</p>
  
  <pre><code>curl: option --data-binary: out of memory
  </code></pre>