When System.gc() or Runtime.getRuntime().gc() method calls are invoked it causes stop-the-world Full GCs. During stop-the-world full GCs, entire JVM will freeze (i.e. no user activities will be performed during the period). Typically these GCs take long duration to complete as well. Thus... Continue Reading →