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

What does CLR do as soon as an assembly is created ?

2 Answers   MMTS,


If we write return statement in finally block will it works fine or throws any error?

7 Answers   Kanbay,


What is the full form of sp?

0 Answers  


What is entity framework? : Entity framework

0 Answers  


What is strong name and which tool is used for this ?

4 Answers   Accenture, BirlaSoft,


Can you please explain the request flow in ASP.NET MVC framework?

0 Answers  


Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Qu)I Got Exception in "try" block. Which "catch" statement (i.e. 1st catch or 2nd catch ) catches the exception and Why???

6 Answers   3i Infotech,


How does CAS work

1 Answers  


What is the difference between windows vista and .net framework 3.0 ?

0 Answers  


What are Model Binders in ASP.Net MVC?

0 Answers  


what is lazy loading in entity framework?

0 Answers   Microsoft,


What is .net core framework?

0 Answers  


Categories