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 send a request to garbage collector?

Answers were Sorted based on User's Feedback



How to send a request to garbage collector?..

Answer / nilesh bhil

Garbage collector is automatically called by JVM.
But can make the request by calling gc() method on System class as follows.
System.gc();
Note that we are making only request Garbage Collector may
called or may not called.
Garbage Collector is automatically called at two conditions.
1)When CPU is ideal.
2)When huge amount of memory is required.

Is This Answer Correct ?    6 Yes 0 No

How to send a request to garbage collector?..

Answer / viiraj

Garbage collection is implicitly accomplished with
termination of instance.
Wee dont need to explicitly request.

Is This Answer Correct ?    4 Yes 2 No

How to send a request to garbage collector?..

Answer / manikandan [ gtec,vellore ]

we can't force a garbage collection.it automatically runs
when system runs out of memory.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Advanced Java Interview Questions

What are the types of data passing mechanisams under JMS specification?

1 Answers  


Why are my checkboxes not being set from on to off?

0 Answers  


Why does most servlets extend HttpServlet?

4 Answers   Accenture, Wipro,


What is servlet preinitialization?

3 Answers   iFlex,


What is the relationship between local interfaces and container-managed relationships?

0 Answers  


What is a compilation unit?

1 Answers  


which type of objects reference will be given to client?

0 Answers  


Is a class a subclass of itself?

0 Answers  


Give me simple example of hibernate caching and explain the details of caching????? thanks in adv.

1 Answers  


What are the different approaches to represent an inheritance hierarchy?

0 Answers  


whats is mean by tiles in struts

2 Answers   SolutionNET,


What are JTA/JTS and how they used by client?

0 Answers  


Categories