https://github.com/dgroup/mat
Eclipse Memory Analyzer for the JVM heap dump analysis wrapped into Docker image
https://github.com/dgroup/mat
docker eclipse-memory-analyzer jvm-performance mat oom out-of-memory
Last synced: about 1 year ago
JSON representation
Eclipse Memory Analyzer for the JVM heap dump analysis wrapped into Docker image
- Host: GitHub
- URL: https://github.com/dgroup/mat
- Owner: dgroup
- License: mit
- Created: 2019-04-05T14:25:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T12:57:59.000Z (about 7 years ago)
- Last Synced: 2025-05-08T04:45:46.673Z (about 1 year ago)
- Topics: docker, eclipse-memory-analyzer, jvm-performance, mat, oom, out-of-memory
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
**Description**
[](https://microbadger.com/images/dgroup/mat "Image layers")
[](https://hub.docker.com/r/dgroup/mat "Image pulls")
[](https://microbadger.com/images/dgroup/mat "Image version")
[](https://github.com/dgroup/mat/graphs/commit-activity)
[](./license.txt)
[](http://www.0pdd.com/p?name=dgroup/mat)
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**
```bash
docker run -it --rm -v "$PWD":/dumps -w /dumps \
dgroup/mat /mat/ParseHeapDump.sh \
.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
```bash
docker run -it --rm -v "$PWD":/dumps \
-v "$PWD/MemoryAnalyzer.ini":/mat/MemoryAnalyzer.ini \
-w /dumps -m 5g \
dgroup/mat /mat/ParseHeapDump.sh \
.hprof \
org.eclipse.mat.api:suspects \
org.eclipse.mat.api:overview \
org.eclipse.mat.api:top_components
```