title: IntelliJ | Error: Could not create the Java Virtual Machine | Error: A fatal exception has occurred. Program will exit
body: <p>I am using IntelliJ on my windows 10 PC.</p>
  
  <p>I was working my of the maven project, everything was working fine. But i did not understand what i changed in between, getting the following error since then.</p>
  
  <p><a href="https://i.stack.imgur.com/k592B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k592B.png" alt="enter image description here"></a></p>
  
  <p>I read a lot in stack-overflow getting many answers stating that change the Java heap size using adding the VM option (-Xms512M -Xmx4096M) into Run/Debug Configurations.</p>
  
  <p>But nothing turnout to be as expected. Any help would be greatly appreciated.</p>