Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
First Steps with MAT<br />AurélienPupier@EclipseDemocamp Grenoble, June 28th 2011<br />
Memory Analyzer Tool<br />
Analyzeyourmemory<br />You need a HeapDump!!!<br />Heap.bin<br />*.hprof<br />
How to get a « HeapDump »<br />Post-mortem<br />-XX:HeapDumpOnOutOfMemoryError<br />-XX:HeapDumpPath<br />During execution...
Demo<br />
Analyzeyourmemory<br />Detectobjectskept in memory<br />Detectduplicated classes (libs)<br />Generateuseful reports<br />M...
See also…<br />aurelien.pupier@bonitasoft.com<br />Twitter: @apupier<br />Eclipse blog: www.bonitasoft.org/blog/category/e...
Upcoming SlideShare
Loading in …5
×

First Steps with MAT

  • Login to see the comments

  • Be the first to like this

First Steps with MAT

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

×