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...

How does Garbage collector(GC) works in .net

Answer Posted / archana

In .NET Garbage Collector maintained by CLR. The process of
GC is reclaim the memory of objets which is no longer
referenced by our program.Next thing is GC runs
undeterministicly because of that we can't assure we the
object will be released from the Heap Location.But the CLR
maintain a Logical Pointer to every object which referenced
by our program. In some amount of time the GC look out the
objects which is reachable from Logical Pointer. whatever
the object reachable from pointer it create a map those
objects. After that it will reclaim the memory of objects
those are not reachable from the pointer.This is the
process of how the GC clear the memory of Object.

Is This Answer Correct ?    43 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is global.asax file used for?

1027


Where can I get the details on migration of existing projects using various technologies to asp.net?

1089


How can you dynamically add user controls to a page?

962


Explain what is an abstract class?

1020


How can we provide the WebParts control functionality to a server control?

998


Explain the asp.net mvc request life cycle? : asp.net mvc

1011


Can I have a unique key as foreign key?

961


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

984


What are the features of asp.net mvc?

1004


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

1128


Is asp.net mvc still used? : Asp.Net MVC

976


How does a web application session work?

1084


What are the validation controls available in ASP.NET?

1004


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

1004


In order to get assembly info which namespace we should import?

999