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
Which .NET framework supports Web API?
Why do you use the app_code folder in asp.net?
What is a user developed application?
What is datagrid asp.net?
if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.
What are session objects?
What is http post action?
What are the different method of navigation in asp.net?
What is the best Macanism to clear the Cache in asp.net
Can you explain one critical mapping? Performance issue which one is better?
What is a web api?
Should I delete cookies?
What is ascx?
What are client activated objects and server activated objects?
Explain the main differences between asp and asp.net?