title: How to increase memory size for JVM beyond 1gb
body: <p>When I try to set <code>-Xms</code> and <code>-Xmx</code> values more than 1gb, I am getting an error:</p>
  
  <blockquote>
    <p>Error occurred during initialization of VM</p>
  </blockquote>
  
  <p>My pc has 8GB of RAM.</p>
  
  <p>I need to hold and manipulate a huge amount of data in memory.</p>