title: How garbage collection works with Session object in Java?
body: <p>How garbage collection works with Session object in JSP? Whether each session gets garbage collected after session gets expired? What is better way to handle memory with Session objects in JSP?</p>