title: Heap vs Stack vs Perm Space
body: <ul>
  <li>What are the differences between the Java memory spaces (Perm Space, Space Stack, Heap Space)?</li>
  <li>When does the JVM use one or another?</li>
  <li>If I use Scala/Groovy/etc., are there differences?</li>
  </ul>