You can only request/suggest that the JVM perform garbage collection -- using System.gc() and Runtime.getRuntime().gc() -- but there is no guarantee that it actually will.
Matt
Inquisition: open-source mock exam simulator for SCJP and SCWCD
Everyone is a villain in someone else's story. Especially this devious tiny ad: