title: How is the java memory pool divided?
body: <p>I’m currently monitoring a Java application with jconsole. The memory tab lets you choose between:</p>
  
  <pre class="lang-none prettyprint-override"><code>Heap Memory Usage
  Non-Heap Memory Usage
  Memory Pool “Eden Space”
  Memory Pool “Survivor Space”
  Memory Pool “Tenured Gen”
  Memory Pool “Code Cache”
  Memory Pool “Perm Gen”
  </code></pre>
  
  <p>What is the difference between them ? </p>