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
Explain the 'page lifecycle' of an ASP.NET MVC?
mention what is code first approach and model first approach in entity framework?
What is .net framework & its benefits?
How to update one of my table in database at 4pm every day how it is possible?
I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.
Explain the role of assembly in the .net framework.
How to use multiple submit buttons in asp.net mvc?
What is a model in android?
Is it possible to create a custom filter?
How the ‘page lifecycle’ of ASP.Net MVC does works?
How can you return string result from Action in ASP.Net MVC?
What is viewdata?
What is iobjectset? : Entity framework
Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?
What are the benefits of .net framework?