Here is a pretty comprehensive article on the java garbage collector: <a href="https:&#x2F;&#x2F;plumbr.eu&#x2F;handbook&#x2F;garbage-collection-in-java" rel="nofollow">https:&#x2F;&#x2F;plumbr.eu&#x2F;handbook&#x2F;garbage-collection-in-java</a> that has helped me a lot.<p>It touches the basic aspects of garbage collecting, and dives into the different kinds of GC available for java at this time.