Skip to content

Instantly share code, notes, and snippets.

@prasanthj
Last active February 2, 2020 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prasanthj/d0d317a65d8d7910a2187df7686c65c6 to your computer and use it in GitHub Desktop.
Save prasanthj/d0d317a65d8d7910a2187df7686c65c6 to your computer and use it in GitHub Desktop.
Eclipse MAT offline analysis
Download Eclipse MAT from https://www.eclipse.org/mat/
Change Xmx depending on heap dump size being analyzed in ini file. If GC errors are observed then add -XX:-UseGCOverheadLimit option too
vim ~/home/pkgs/mat/MemoryAnalyzer.ini
~/home/pkgs/mat/ParseHeapDump.sh heapdump.hprof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment