When Garbage Collector will run and how its identifing
whether the Object is used or Not.?

Answer Posted / sivaprasad

I think Garbage Collector is a normal priority thread
running in the application under normal conditions, when
heap memory is full it takes high priority and traces
referrance tree and mark the objects which have referrance
count is zero.usually when object is out of scope it memory
in heap automatically reclaimed by Garbage Collector(if it
has no referrances)

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly

1548


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

1977


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

523


Explain how does asp page work?

578


Explain the difference between array and linkedlist?

524






What is active web pages?

508


What is meant by server side scripting?

523


What is the difference between dynamic SGA and static SGA?

587


What are the main advantages of using asp.net?

558


What is the usage of DelegatingHandler?

593


What is a gridview in asp.net?

530


Difference between .NET and previous version?

2109


What is ipostback?

603


What is Dynamic Web and discuss its usage with the help of real life examples?

598


Can we add code files of different languages in app_code folder?

603