Home Tutorialhelp Comment Dear Nijel, answer for How you can force the g

 
 

Comment

Vikash Prabodh
Dear Nijel, answer for How you can force the g,
February 13, 2007 at 2:15 PM

Dear Nijel,

answer for How you can force the garbage collection? is wrong. right??
we can force using

System.gc();
and
Runtime.getRuntime().gc();


no i think it is System.gc.Collect();
we have to use the Collect method to call it.




View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com