How to free the memory that is not used by an object in
garbage collection?
Answer Posted / srinivas
in garbage collection,heap is divided into
generations,g1,g2,g3.all available objects stored in g1,if
g1 is full,then garbage collector performs the collection
process,in that fist identify the ideal object and used
objects,second delete the used objects and ideal objects are
put in to finalization queue,and then use genarations.
then we get free memory in garbage collection
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?
Explain dependency resolution?
What are ajax helpers in asp.net mvc?
Can I use razor code in javascript in asp.net mvc?
what is model first approach?
What is the difference between windows vista and .net framework 3.0 ?
What is controllercontext?
What is domain class model?
Explain the advantages of dependency injection (di) in asp.net mvc?
what is csdl?
How you can implement custom validation in asp.net MVC?
What are the 2 ways of adding constraints to a route?
Can you explain model, controller and view in mvc?
how do you truncate a table using entity data model?
which are the key concepts of entity data model?