How does VisualVM detect memory leaks?

How does VisualVM detect memory leaks?
Answer
Analyze Running Code With Visualvm
  1. Now run your Java application,
  2. Attach VisualVM to your application.
  3. Perform the operation that causes the sluggish performance.
  4. Inspect the ‘Monitor’ and the ‘memory pools’ tab. …
  5. Then switch over to the ‘memory pools’ tab and inspect the ‘Old Gen’. (
 

Tìm kiếm

Back
Top