title: OutOfMemoryError: insufficient memory in IntelliJ?
body: <p>When I run my project in IntelliJ in debug mode I get the following error.</p>
  
  <p><strong>Does anybody know what is the cause?</strong>
  <img src="https://i.stack.imgur.com/2rAtv.png" alt="enter image description here"></p>
  
  <p>I already increased my heap size in <code>idea.vmoptions</code>:</p>
  
  <pre><code>-ea
  -server
  -Xms1g
  -Xmx3G
  -Xss16m
  -Xverify:none
  -XX:PermSize=512m
  -XX:MaxPermSize=1024m
  </code></pre>
  
  <p>I already increased my heap size for compiler to 1024 as bellow:
  <img src="https://i.stack.imgur.com/aDhH7.png" alt="enter image description here"></p>