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
Does Tempdata hold the data for other request in ASP.Net MVC?
What is rxjava used for?
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?
How to enable Attribute Routing?
What is Attribute Routing in ASP.Net MVC?
Explain unit test done by tester on development team?
How we can handle the exception at controller level in ASP.Net MVC?
what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?
Is .net core faster than .net framework?
How to use Jquery Plugins in ASP.Net MVC validation?
How we can add the CSS in ASP.Net MVC?
What is the .net framework?
Explain JSON Binding?
What is edm in entity framework?
Is it possible to cancel filter execution?