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 are Scaffold templates in ASP.Net MVC?
what is scalar property?
Explain the difference between Viewbag and Viewdata in ASP.NET MVC?
What are the two ways to add constraints to a route?
Which is the root namespace for fundamental types in .net framework?
Explain entity lifecycle? : Entity framework
What is the use of razor view engine?
How can I tell what .net framework is installed?
what is way of loading data in ef (entity framework)?
what is msl?
Explain representational state transfer (rest) in detail?
What is layout in mvc?
What are the 2 ways of adding constraints to a route?
What is work of clr?
how can you tell ef to have a different table or column name than that defined for the class?