How to free the memory that is not used by an object in
garbage collection?

Answers were Sorted based on User's Feedback



How to free the memory that is not used by an object in garbage collection?..

Answer / venky

Garbage collection is automatic system we not need to call garbage collector manually...

Is This Answer Correct ?    13 Yes 2 No

How to free the memory that is not used by an object in garbage collection?..

Answer / magesh

Garbage collection is automatic system, But it's take time
remove the object. You dispose the object when you work
heavy large application.

Is This Answer Correct ?    7 Yes 0 No

How to free the memory that is not used by an object in garbage collection?..

Answer / 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

How to free the memory that is not used by an object in garbage collection?..

Answer / avinash

Using "GC.Collect();" unused objects can be removed.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More Dot Net Framework Interview Questions

What is the meaning of unobtrusive javascript?

0 Answers  


What is IL

1 Answers  


How does CAS work

1 Answers  


In which testing using in .net framwork?

2 Answers  


What's the difference between Java and .NET garbage collectors ?

1 Answers   BirlaSoft,






how do you query in entity model when the result has a join from from different database other than the entity model?

0 Answers   Microsoft,


Can you explain the page life cycle of mvc?

0 Answers  


what is mean by type-safe? Please answer me. Advance thanks.

0 Answers   Excel,


Explain Bundle.Config in ASP.Net MVC4?

0 Answers  


Where are the routing rules defined in an asp.net mvc application?

0 Answers  


How to return the JSON from action method in ASP.Net MVC?

0 Answers  


How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?

0 Answers  


Categories