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
Explain the difference between asp.net mvc and asp.net webforms
How can you access the properties and controls of master pages from content pages?
How does output caching work in ASP.NET?
What is new asp.net core?
What is asp net application object?
How Session use Cookies in State Management?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
When Cookies are expired in ASP.NET?
Describe session handling in a webfarm, how does it work and what are the limits?
What is parse in asp.net?
How do cookies work? Give an example of their abuse.
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Is asp.net outdated?
What is asp net theme?
where can i gather the materials for MCP certification