Skip to content
/ mat Public

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

License

Notifications You must be signed in to change notification settings

dgroup/mat

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published