打开报错日志,可以看到如下信息:Mac版的MAT启动报错java.lang.IllegalStateException: The platform metadata area could not be written
没有指定-data信息。

解决方法

找到以下路径(根据自己的安装路径)中的MemoryAnalyzer.ini文件:
Mac版的MAT启动报错java.lang.IllegalStateException: The platform metadata area could not be written
输入命令vim MemoryAnalyzer.ini,加入-data配置,如下:
Mac版的MAT启动报错java.lang.IllegalStateException: The platform metadata area could not be written
以上-data配置对应的文件夹路径和名称可以自己指定,保存后退出。

重启MAT,结果如下:Mac版的MAT启动报错java.lang.IllegalStateException: The platform metadata area could not be written
能够启动成功。

相关文章:

  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-01-13
  • 2022-01-01
猜你喜欢
  • 2022-12-23
  • 2021-10-28
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案