PermGen and Heap, Difference and their significance
Friends, Can you please give me significance, difference and uses for Heap and PermGen. Also it would be good to know what class are loaded in them respectively. Explanation related to Java VM specification would be really helpful Thanks Punith Memory(Heap) is managed in generations, or memory pools holding objects of different ages. Garbage collection occurs in each generation when the generation fills up. Objects are allocated in a generation for younger objects or the young generation , and because of infant mortality most objects die there. When any new object is constructed it goes to