HOW TO CALL A GARBAGE COLLECTOR IN JAVA?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java 
 621  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    How to call a garbage collector in java?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!