Discussion for Testing a Java Memory Leak using System.gc() and WeakReference
System.gc()
WeakReference