I have read that non-static inner class can make more memory leaks than static inner class. It is fine that non-static class will produce object instance of itself as well as its out class as reference to it.
So static inner class can avoid multiple object instances because it will create single class level object and not instance level. But how can it avoid creating objects of instances of its outer class?
Plz help understanding static inner class vs non-static/anonymous inner class memory leakage.