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
What is the difference between session object and application object?
Describe paging in asp.net?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
How can I have a particular web page in an asp.net application which displays its own error page?
what is publisher?
How is session id generated?
What is the postback property in asp.net?
Explain the different types of directives in .net?
What is state management technique?
What are Master Pages in ASP.NET? or What is a Master Page?
What is an il?
How would you create a permanent cookie?
What are HTTP handlers in ASP.NET?
What is page request in asp.net?
What is the page life cycle in asp.net?