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
What is dynamic web page with example?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
Where is asp.net view state stored?
What is Web Server Control Templates.?
Please briefly explain the usage of global.asax?
Explain server side state management system.
What does asp stand for in asp.net?
In how many ways we can retrieve table records count?
What is the sequence in which ASP.NET events are processed?
Explain server-side scripting and client-side scripting.
What are merge modules?
What is Cookies Less Session?
Explain diff. Betn dataset and recordset?
What is query string?
Can user control be stored in library?