title: Why is the default size of PermGen so small?
body: <p>What would be the purpose of limiting the size of the Permgen space on a Java JVM?  Why not always set it equal to the max heap size?   Why does Java default to such a small number of 64MB?  Are they trying to force people to notice permgen issues in their code by doing this?  </p>
  
  <p>If my app uses 85MB of permgen, then it might be safe to set it to 96MB but why set it so small if its just really part of the main heap?  Wouldn't it be efficient to allow the JVM to use as much PermGen as the heap allows?</p>