The Wayback Machine - https://web.archive.org/web/20201024205041/https://github.com/dgroup/mat
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Description

Commit activity License: MIT 0pdd

Base docker image with OpenJDK 8 and MAT: dgroup/mat By default the MAT v1.8.1.20180910 is used.

Run the MAT in order to parse the heap dump

docker run -it --rm -v "$PWD":/dumps -w /dumps \
  dgroup/mat /mat/ParseHeapDump.sh \
  <heap-dump>.hprof \
  org.eclipse.mat.api:suspects \
  org.eclipse.mat.api:overview \
  org.eclipse.mat.api:top_components

Run the MAT and override the default MemoryAnalyzer.ini settings"

  1. Define your own MemoryAnalyzer.ini
  2. Pass custom settings to the docker container
    docker run -it --rm -v "$PWD":/dumps \
      -v "$PWD/MemoryAnalyzer.ini":/mat/MemoryAnalyzer.ini \
      -w /dumps -m 5g \
      dgroup/mat /mat/ParseHeapDump.sh \
      <heap-dump>.hprof \
      org.eclipse.mat.api:suspects \
      org.eclipse.mat.api:overview \
      org.eclipse.mat.api:top_components

About

Eclipse Memory Analyzer for the JVM heap dump analysis wrapped into Docker image

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.