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

Explain the tools used for unit testing in ASP.Net MVC

1055


Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).

2232


Explain the types of Scaffoldings.

1018


what is entity framework advantage?

1029


What is edm designer? : Entity framework

925


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

931


Why should we go for entity framework?

944


what is ssdl?

1100


What are the two ways to add constraints to a route?

917


Explain dependency resolution?

1017


what is complex type?

954


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

1031


How can we determine action invoked from HTTP GET or HTTP POST?

970


differences between poco, model first and data first approach?

1122


Can you explain renderbody and renderpage in mvc?

978