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

What is GC (Garbage Collection) and how it works

Answer Posted / kirti

One of the good features of the CLR is Garbage Collection, which runs in the background collecting unused object references, freeing us from having to ensure we always destroy them. In reality the time difference between you releasing the object instance and it being garbage collected is likely to be very small, since the GC is always running.

[The process of transitively tracing through all pointers to actively used objects in order to locate all objects that can be referenced, and then arranging to reuse any heap memory that was not found during this trace. The common language runtime garbage collector also compacts the memory that is in use to reduce the working space needed for the heap.]

Heap:

A portion of memory reserved for a program to use for the temporary storage of data structures whose existence or size cannot be determined until the program is running.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I return string result from action in asp.net mvc?

1038


How we can multiple submit buttons in ASP.Net MVC

1126


How do I use partial view?

952


Why to use Html.Partial in ASP.Net MVC?

1108


Explain the advantage of packaging over xcopy in .net?

957


How large is the .net framework 3.0?

1010


What is controllercontext?

1031


What is the difference between old ADO.NET and Entity framework coding techniques?

993


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

977


Is .net core replacing .net framework?

959


What are the options can be configured in AJAX helpers?

984


What is the use of razor view engine?

959


What operating systems will the .net framework 3.0 be available for?

1012


what is eager loading?

1000


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

1007