Did you ever consider that instances of other classes can sometimes be duplicate and waste a considerable amount of memory?
Tag: PERFORMANCE
Duplicate Strings: How to Get Rid of Them and Save Memory
Learn why duplicate strings emerge in Java applications and how you can detect and remove them to avoid numerous memory problems.