Six simple examples of memory leaks in Java. They are all explained in this video: https://www.youtube.com/watch?v=2f9HzMelcDo