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

Is it possible to create a custom filter?

984


Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?

930


Why to use html.partial in mvc?

1205


What is edm designer? : Entity framework

972


Explain the new features added in version 4 of mvc (mvc4)?

990


What filters are executed in the end?

1021


What is entitycontainer? : Entity framework

1003


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

2560


What is latest version of .net framework?

1107


Which filter executes first in an asp.net mvc application?

962


what is scalar property?

1056


How to use Jquery Plugins in ASP.Net MVC validation?

1029


mention what is the key advantage of using entity framework or ef?

999


what is code first approach?

1106


what is entityclient?

1106