Identify Java memory leaks |
This tutorial shows you how to identify a memory leak in a Java application using the Leak Candidates view. A memory leak occurs in a Java application when the application maintains references to objects that are no longer required. The memory that is used to hold these objects is leaked memory. If too much memory is leaked, performance can be impacted. In extreme cases, the application can come to a halt reporting java.lang.OutOfMemoryError. ![]() |
![]() |