1 / 18

Deep dive into Heap Dump analysis

Deep dive into Heap Dump analysis. Yannick Poireault | Enterprise Support Engineer. Agenda. Basics on Heap dump – The problem / the solution. KEY TAKEAWAY : Heap dumps are useful when troubleshooting Out Of Memory problems. Basics on Heap dump – Different  Out Of Memory  errors.

feeney
Download Presentation

Deep dive into Heap Dump analysis

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Deep dive into Heap Dump analysis Yannick Poireault | Enterprise Support Engineer

  2. Agenda

  3. Basics on Heap dump – The problem / the solution KEY TAKEAWAY : Heap dumps are useful when troubleshooting Out Of Memory problems.

  4. Basics on Heap dump – Different Out Of Memory errors

  5. Basics on Heap dump – What are Heap dump?

  6. Acquire a Heap Dump – Use-case scenario

  7. Analyzing a Heap Dump – The tools

  8. Analyzing a Heap Dump – The Overview

  9. Analyzing a Heap Dump – Shallow Heap & Retained heap The retained heap can be calculated in two different ways

  10. Analyzing a Heap Dump – Unreachable Objects Histogram An object is reachable if there exist a path of reference from the GC Roots by which the executing program can access it Unreachable objects are eligible for garbage collection and will be finalized before freeing the memory Finalization process is single threaded. Overriding the finalizer method in business objects is not recommended to avoid queuing Verify the number of objects in the histogramand how much memory they are consuming

  11. Analyzing a Heap Dump – Leak suspects

  12. Analyzing a Heap Dump – Histogram Statistical view of instances number and their retained memory Group by package to organize and inspect your business class Filter the view using a regexp pattern Inspect object attributes and drill-down into their references Compare to another heap dump to monitor the evolution

  13. Analyzing a Heap Dump – Dominator tree

  14. General tips – Inspect objects

  15. General tips – Object Query Language 

  16. General tips – Share with Customer Care

  17. Thank You !

More Related