How to free the memory that is not used by an object in
garbage collection?
Answers were Sorted based on User's Feedback
Answer / venky
Garbage collection is automatic system we not need to call garbage collector manually...
| Is This Answer Correct ? | 13 Yes | 2 No |
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 |
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 |
Answer / avinash
Using "GC.Collect();" unused objects can be removed.
| Is This Answer Correct ? | 5 Yes | 1 No |
Is any files are generated,when we are adding the web reference to the web service?
What are the new features 3.5 framework against with the tool?
What are the types of authentication in .net
Mention the core components of .net framework?
How to bind table colum with gridview column?
Can we have enum in entity framework?
Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )
What is the meaning of unobtrusive javascript? Explain us by any practical example.
What is the difference between a Struct and a Class
what is lazy loading in entity framework?
What is orm entity framework?
What platforms does the .NET Framework run on?