MAT(Eclipse Memory Analyzer Version 1.8.0)在mac os(10.13.5)打开异常处理

在Mac OS 10.13.5上使用MAT(Eclipse Memory Analyzer Version 1.8.0)时遇到打开异常,错误日志显示工作路径与启动路径相同。解决方案是修改MemoryAnalyzer.ini文件,添加-data参数指定不同内容区域,例如'/Users/ifeng/Documents/mat'。确保指定路径存在且具有相应权限,避免以root用户身份操作。
摘要由CSDN通过智能技术生成

1.打开MAT弹出报错日志

2.分析报错日志

sh-3.2# cat /Users/ifeng/.eclipse/394168535_macosx_cocoa_x86_64/configuration/1575430222030.log

!SESSION 2019-12-04 11:30:21.894 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.8.0_131

java.vendor=Oracle Corporation

BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=zh_CN

Framework arguments:  -keyring /Users/ifeng/.eclipse_keyring

Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data /Users/ifeng/Documents/mat -keyring /Users/ifeng/.eclipse_keyring

 

!ENTRY org.eclipse.osgi 4 0 2019-12-04 11:30:25.992

!MESSAGE Application error

!STACK 1

java.lang.IllegalStateException: The platform metadata area could not be written: /Users/ifeng/Documents/mat/.metadata.  By default the platform writes its content

under the current working directory when the platform is lau

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值