First Steps with MAT

  • 1,282 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,282
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
17
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. First Steps with MAT
    AurélienPupier@EclipseDemocamp Grenoble, June 28th 2011
  • 2. Memory Analyzer Tool
  • 3. Analyzeyourmemory
    You need a HeapDump!!!
    Heap.bin
    *.hprof
  • 4. How to get a « HeapDump »
    Post-mortem
    -XX:HeapDumpOnOutOfMemoryError
    -XX:HeapDumpPath
    During execution
    Directly from MAT
    JConsole
    Jmap
  • 5. Demo
  • 6. Analyzeyourmemory
    Detectobjectskept in memory
    Detectduplicated classes (libs)
    Generateuseful reports
    Memory leaks
    Detectpath to GC root
    Compare two dumps
    Use Querier to generatecomplexrequests and savequery
  • 7. See also…
    aurelien.pupier@bonitasoft.com
    Twitter: @apupier
    Eclipse blog: www.bonitasoft.org/blog/category/eclipse
    Company: www.bonitasoft.com
    Community: www.bonitasoft.org
    Twitter: @bonitasoft