Home > DeveloperSection > Interviews > How to call a garbage collector in java?

Posted on    July-06-2015 11:41 PM

 Java Java 
Ratings:
 1 Answer(s)
  366  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    July-06-2015 11:41 PM

System.gc() or Runtime.getRuntime().gc().

Don't want to miss updates? Please click the below button!

Follow MindStick