title: How to force garbage collection in Java?
body: <p>Is it possible to force garbage collection in Java, even if it is tricky to do? I know about <code>System.gc();</code> and <code>Runtime.gc();</code> but they only suggest to do GC. How can I force GC?</p>