There is 3 generations, called Generation 0, Generation 1 and Generation 2.
3
Generation 0,1 and 2
the allocated space will be three. Generation object 1 ,Generation object 2,Generation object 3. It will have some free space which will be ready to use and reserved.
In garbage collector memory has divided in 3 parts as 1. Gen 0 2. Gen 1 3. Gen 3