Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why doesn't the .NET runtime offer deterministic destruction



Why doesn't the .NET runtime offer deterministic destruction..

Answer / kirti

Because of the garbage collection algorithm. The .NET garbage collector works by periodically running through a list of all the objects that are currently being referenced by an application. All the objects that it doesn't find during this search are ready to be destroyed and the memory reclaimed. The implication of this algorithm is that the runtime doesn't get notified immediately when the final reference on an object goes away - it only finds out during the next sweep of the heap.

Futhermore, this type of algorithm works best by performing the garbage collection sweep as rarely as possible. Normally heap exhaustion is the trigger for a collection sweep.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?

0 Answers   MCN Solutions,


Can you set the unlimited length for "maxjsonlength" property in config?

0 Answers  


I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

0 Answers   Accenture,


im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me

2 Answers  


Can we add constraints to the route? If yes, explain how we can do it?

0 Answers  


What is viewbag title?

0 Answers  


How the ‘page lifecycle’ of ASP.Net MVC does works?

0 Answers  


Why is entity framework used?

0 Answers  


Do I need microsoft .net framework?

0 Answers  


What is "out" parameter how it is used in methods?

6 Answers   Polaris,


When do you absolutely have to declare a class as abstract

1 Answers   Siebel Systems,


What is Peek method in Tempdata in ASP.Net MVC?

0 Answers  


Categories