title: Increasing the memory size of an Intellij Plugin
body: <p>I'm developing an Intellij-Plugin. The Plugin needs to have 2GB of HeapMemory (... yes it really needs to ;) ). I found out how I can increase the Memory of the Intellij IDEA VM bis editing the idea64.exe.vmoptions-file like this:</p>
  
  <pre><code>-Xms128m
  -Xmx2048m
  -XX:MaxPermSize=350m
  -XX:ReservedCodeCacheSize=240m
  -XX:+UseCodeCacheFlushing
  -XX:+UseCompressedOops
  </code></pre>
  
  <p>If i enable the memory indicator, i can see that it worked.</p>
  
  <p>But if i run/debug my plugin out of Intellij, the "sandbox"-Intellij has only 1GB of RAM. </p>
  
  <p><strong>It throws the flowing warning:</strong></p>
  
  <blockquote>
    <p>High memory usage (free 101 of 914 MB) while dumping threads</p>
  </blockquote>
  
  <p>How can i increase the RAM of the sandbox-Plugin?</p>