title: SystemMemoryOutofException-Elasticsearch IndexMany
body: <p>Im getting this error while indexing documents as an attachment. What can be the reason for this type of error. And why is it behaving differently when I run on server and when I run from visual studio.</p>
  
  <p>More details about the problem is mentioned here.</p>
  
  <p>Please have a look at the below link.</p>
  
  <p><a href="https://discuss.elastic.co/t/systemmemoryoutofexception-thrown-while-indexing-files-as-an-attachment/50916" rel="nofollow">https://discuss.elastic.co/t/systemmemoryoutofexception-thrown-while-indexing-files-as-an-attachment/50916</a></p>
  
  <p>TIA</p>