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

can we call the garbage collector to run explicicitly?

Answer Posted / prateek

But forcefully calling Garbage collector reduces the
performance. As when CLR runs Garbage collector
automatically it checks all the objects which are not used
for a long time and remove them. But if we use
System.GC.Collect(), it will shift the particular object to
cache. When CLR founds no object which is made to be free
then it will check the cache memory from there it will
remove that very object. So, how it is reducing the performance.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can register the Area in ASP.Net MVC?

1104


What is Layout in ASP.Net MVC?

1071


Explain the new features 3.5 framework against with the tool?

953


explain what does .edmx file contains?

1077


Explain how to use multiple submit buttons in ASP.Net MVC?

1262


What is entity framework firstordefault?

978


What is mvc entity framework?

971


Can you explain renderbody and renderpage in mvc?

1026


What is entity framework in asp net?

1095


Does windows 10 need .net framework?

1012


What is the difference between adding routes, to a webforms application and to an mvc application?

1018


Explain representational state transfer (rest) in detail?

1024


What are action filters?

1041


The order of the filters that get executed, if the multiple filters are implemented?

1031


Explain Keep method in Tempdata in ASP.Net MVC?

1068