Thursday, September 11, 2014

Little About Heap Memory

1) Heap is a run time data area from which memory for all class Instances and arrays is allocated

2) Heap is created at Virtual Machine Startup

3) Heap storage is reclaimed by the Garbage Collector

4) Heap may be of fixed size or may be expanded as required

5) Heap memory does not need to be Contiguous

6) If a program need More heap memory than the automatic memory management system provides then Java Virtual Machine throws OutOfMemoryError

No comments:

Post a Comment