How Dot Net Manages Memeory and what are the Generations in Garbage Collection?

Questions by srinivasan111

Showing Answers 1 - 1 of 1 Answers

gouri

  • Aug 29th, 2006
 

.Net manages memory with help of garbage collector.

There are three types of generations.

Gen 0, Gen1, Gen 2

First memory is allocated from gen 0 when gen 0 is full.garbage collector is called. It collects inactive objects from gen0 and active objects are moved to gen1. and active objects in gen1 is moved to gen 2.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions