How does Garbage collector(GC) works in .net
Answer Posted / archana
In .NET Garbage Collector maintained by CLR. The process of
GC is reclaim the memory of objets which is no longer
referenced by our program.Next thing is GC runs
undeterministicly because of that we can't assure we the
object will be released from the Heap Location.But the CLR
maintain a Logical Pointer to every object which referenced
by our program. In some amount of time the GC look out the
objects which is reachable from Logical Pointer. whatever
the object reachable from pointer it create a map those
objects. After that it will reclaim the memory of objects
those are not reachable from the pointer.This is the
process of how the GC clear the memory of Object.
| Is This Answer Correct ? | 43 Yes | 9 No |
Post New Answer View All Answers
IN an ASP.NET Web application if there is any error, how can you debug?
How do you deploy your asp.net application?
what are the Custom controls in asp.net?
Explain the boxing and unboxing concept in .net?
In how many ways we can retrieve table records count?
What are web server controls in asp.net?
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
Web API supports which protocol?
What are triggers of an updatepanel?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
9. Why should we hire you over the others waiting to be interviewed?
What is the difference between session object and application object?
What does a switch do?
Explain difference between dataset and recordset?