Memory Analyzer Tool on macOS

Memory Analyzer Tool on macOS

  1. add lines blow in /Applications/mat.app/Contents/Info.plist
  <string>-vm</string>
  <string>/Library/Java/JavaVirtualMachines/jdk-11.0.5.jdk/Contents/Home/bin/java</string>
  <string>-data</string>
  <string>/Users/dean/mat-workspace</string>
  1. remove line blow in /Applications/mat.app/Contents/Eclipse/MemoryAnalyzer.ini enable big font display

-Dorg.eclipse.swt.internal.carbon.smallFonts

  1. if crashed on macOS Monterey, you need resign app.

codesign --force --deep --sign - /Applications/mat.app

Reference

  1. http://help.eclipse.org/latest/index.jsp?topic=/org.eclipse.mat.ui.help/welcome.html
  2. https://medium.com/@chrishantha/basic-concepts-of-java-heap-dump-analysis-with-mat-e3615fd79eb
  3. https://www.ej-technologies.com/resources/jprofiler/help/doc/main/snapshots.html

版权声明:本文为zhanggang807原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。