title: How to increase heap memory in pandoc execution?
body: <p>I am working on converting docx to epub.  Document contains lot of images.  When execution of converting, i have error:</p>
  
  <pre><code> “pandoc.exe: Heap exhausted; Current maximum heap size is 1073741824 
     bytes (1024 MB); use `+RTS -M' to increase it. 
     Error while executing job!”
  </code></pre>
  
  <p>I am using Node.js.</p>
  
  <p>Can any one assist me how to increase heap size?</p>
  
  <p>Update: </p>
  
  <pre><code>I have increased size till 2GB.  But pandoc still shows error 
  "Pandoc.exe out of memory"
  </code></pre>
  
  <p>Is it possible to solve this issue?</p>