Just to understand the various ways in which memory leaks can happen in Java. Is it safe to say that the most general way is when a reference to an object is created and never released?
Ex :
DBManager db = new DBManager();
db.open();
and no call to :
db.close();