Java tutorial
public class Main { public static void main(String[] args) { Runtime runTime = Runtime.getRuntime(); runTime.gc(); System.out.println("Completed."); } }