IBM interview question

Memory Issues in Java