You can detect memory management problems at the class and object level by collecting heap information in heap dumps as your application runs, and then comparing the heap dumps. This comparison identifies changes in the memory that is allocated in the Java™ heap, and is the basis for generating a list of the most probable leak candidates.
The following topics provide specific instructions: