title: Java 8 allocating too much memory
body: <p>I am running <code>Eclipse 4.3</code> with a <code>Java 7 JRE</code>. When I upgrade to a <code>Java 8 JRE</code>, Eclipse suddenly consumes more memory. If I launch Eclipse with <code>JRE 7</code> directly into my workspace, it allocates 600 MB of RAM according to Task Manager. When I use <code>JRE 8</code>, this value is 750 MB.</p>
  
  <p>Even worse, If I run a large Java program which typically allocates about 10 GB of RAM with <code>JRE 7</code>, switching to <code>JRE 8</code> causes it to allocate 12 GB of RAM.</p>
  
  <p>Does anybody know what causes this extra RAM allocation? I have tested tweaking different options but with zero success:</p>
  
  <pre><code>-XX:ReservedCodeCacheSize=
  -XX:MaxMetaspaceSize=
  -XX:MetaspaceSize=
  ...
  </code></pre>