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

Tell me about the internal working of Garbage collector?

Answer Posted / kanth

The main objective of GC is Memory Management....
Gc wil take initiative when ever the application meemory is
low...we hav Finalize() method which runs implicitly...and
Dispose() method which we hav to kal Explicity....

Gc identifies the unused objects with reference counting
concept.
Finalize() method runs implicitly and free the resources if
the object havin no references...in the case of Dispose()
method it wont mind if the reference r ther.....

Gc maintain 4 Generation...start with 0 ..ends with 3
if GC released the resources using
Finalize method() still u can get the object..coz dis
method havin backup...it stores in generation0-3

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is entity framework slow?

954


How to use multiple submit buttons in asp.net mvc?

1089


Explain peek method in tempdata in asp.net mvc?

1049


Explain bundle.config in mvc4?

1090


Why we need a separate mobile project template, while we can render our web application in mobile ?

1079


what is split entity?

1009


Difference between ASP.NET MVC and ASP.NET WebForms?

1009


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

935


Describe the .net framework architecture.

1012


What is a model in android?

902


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

2897


Which is the default http method for an action method?

925


What are Code Blocks in Views?

1070


What are the differences between Partial View and Display Template and Edit Templates in ASP.Net MVC?

999


Explain the methods used to render the views in ASP.Net MVC?

1057