Wednesday 2 July 2014

Working Nature of Garbage Collector

  • Garbage collector will divide complete managed heap into three generations internally named as
    1. Generation 0
    2. Generation 1
    3. Generation 2
  • Generation :- A generation is portion of memory from the managed 
  • Maximum number of generation allowed are only three.
  • In general always generation 2 memory size bigger than generation 1 memory size and generation 1 memory size bigger than the generation 0 memory size.
  • This can be represented by mathematically like... 


No comments:

Post a Comment