Was PermGen Space in Java 6 not a part of Heap Memory? I got this question while reading about PermGen space allocation in java 7. As per Java 7 it says its a part of heap memory, this means that there is no fixed size limitation. So method area(PermGen) is logically a part of heap. That brings me to notice, that method area was not a part of heap before java 7.
If not then how the PermGen was allocated in java 6 and under which memory?