Skip to content

Instantly share code, notes, and snippets.

@t3rmin4t0r
Created September 7, 2017 15:56
Show Gist options
  • Save t3rmin4t0r/6a6f0adb5ae5c3f0f11ef6e4e5fe280b to your computer and use it in GitHub Desktop.
Save t3rmin4t0r/6a6f0adb5ae5c3f0f11ef6e4e5fe280b to your computer and use it in GitHub Desktop.
Eclipse MAT in reporting mode

Download Eclipse MAT

Edit MemoryAnalyzer.ini change -vmargs to use -Xmx4G

Run

./ParseHeapDump.sh file.hprof org.eclipse.mat.api:suspects org.eclipse.mat.api:overview org.eclipse.mat.api:top_components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment