Static collections holding references, unclosed resources (like streams/connections), and forgotten listeners/callbacks are prime examples of objects unintentionally retained, preventing garbage collection.
Open the full topic