title: Too small initial heap error - stanford parser
body: <p>I am trying my hands on the Stanford dependency parser. I tried running the parser from command line on windows to extract the dependencies using this command:  </p>
  
  <pre><code>java -mx100m -cp "stanford-parser.jar" edu.stanford.nlp.trees.EnglishGrammaticalStructure -sentFile english-onesent.txt -collapsedTree -CCprocessed -parserFile englishPCFG.ser.gz
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <pre><code>Error occurred during initialization of VM  
  Too small initial heap
  </code></pre>
  
  <p>I changed the memory size to -mx1024, -mx2048 as well as -mx4096. It didn't change anything and the error persists. </p>
  
  <p>What am I missing?</p>