Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Is .net core replacing .net framework?

0 Answers  


What is GC (Garbage Collection) and how it works

1 Answers  


Explain test driven development (tdd) ?

0 Answers  


what is view state

3 Answers   Wipro,


If Controller is not there in MVC Pattern what happens?

2 Answers  


what is explicit loading?

0 Answers   Microsoft,


what is a mvc in asp.net?

3 Answers   Cap Gemini, Elsinoir Technologies, HCL,


Explain the role of assembly in the .net framework.

0 Answers  


What is shared and private assembly ?

3 Answers   Accenture, BirlaSoft,


What is "out" parameter how it is used in methods?

6 Answers   Polaris,


How do you enforce garbage collection in .NET

1 Answers   Wipro,


will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj;

9 Answers   Kanbay,


Categories