How does Garbage collector(GC) works in .net
Answer Posted / ponvanaraja
1.The .NET Framework's garbage collector manages the
allocation and release of memory for your application.
2. Each time you create an object, the runtime allocates
memory for the object from the managed heap.
3.The garbage collector must perform a collection in order
to free some memory. The garbage collector's optimizing
engine determines the best time to perform a collection,
based upon the allocations being made.
4.When the garbage collector performs a collection, it
checks for objects in the managed heap that are no longer
being used by the application and performs the necessary
operations to reclaim their memory.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
How can we identify that the Page is Post Back?
Do you know caching feature?
What is an assembly? Explain its parts.
What is base class of .net?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
What is the Difference between MVC And MVP design pattrens
Explain the difference between panel and groupbox classes using .net?
Explain global assembly cache.
What are the modes of updation in an updatepanel?
Explain difference between dataset and datareader?
What is validation in asp.net?
hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.
Differentiate between globalization and localization.
Explain the components of web form in asp.net
What is the difference between user control an custom control?