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 to comment out asp.net tags?
What is the difference between the response.write() and response.output.write() methods?
Where can I get information on cookies in asp.net?
What are early binding and late binding.
Which protocol is used to call web service?
What is caching? Explain.
What is inproc and outproc?
What is mvc in asp.net interview question? : Asp.Net MVC
What is Cookies Less Session?
What are the difference between function and stored procedure in .net programming language?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
What is viewstate parameter?
What is razor? : asp.net mvc
What is _dopostback in asp net?
Explain cashing in asp.net.