解决Mac OS下安装MyEclipse报错:Your system does not have sufficient memory to support MyEclipse...

最近想尝尝鲜,翻墙去www.myeclipseide.com上下载了最新版的MyEclipse 15CI版,安装的时候,报告如下错误(MyEclipse 14也会出现这个问题):

Your system does not have sufficient memory to support MyEclipse. MyEclipse requires 256 MBs physical memory and 64 MBs of virtual memory. Your system only has 4056708 MBs of physical memory, and 0 MBs of virtual memory".

 

百度和Google了下,发现很多解决方案都是写个程序强制性耗尽系统物理内存,逼迫系统开始使用虚拟内存,然后开始安装,这很明显是个很Low的办法,

功夫不费有心人,终于找到了如下靠谱的解决方案,目前已经成功安装:

1、下载完整的DMG安装文件

2、双击打开,此时会出现一个MyEclipse 15 XXXXX Installer.app文件,右键显示包内容

3、将包里的Contents文件夹复制出来,随便放个地方

4、删除 Contents/_CodeSignature 目录

5、编辑 MacOS/standard-install文件,里面大概是这样的:

1 #!/bin/sh
2 dir=`dirname "$0"`
3 cd "${dir}/../Installer"
4 dir=`pwd`
5 ./pulse-one -vmargs -Xms192m -Xmx256m -XX:MaxPermSize=128m -d32 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts "-Dpulse.settings.directory=${dir}/../Settings" "-Dpulse.artifact.bin.path=${dir}/../Resources/artifacts.bin" "-Dpulse.installer.directory=${dir}" &

6、在-vmargs里增加-Dcom.genuitec.pulse.debug.memory.check=true并保存

7、运行Contents/MacOS/standard-install 文件,搞定!

原文:

Download the full installer 
- Open the DMG and then show the package content of the installer 
- Copy the content of the Show Package contents to a separate folder 
- Delete the CodeSignature folder 
- From SystemPrefences temporarly enable "Allow apps downloaded from Anywhere" (in your Security & Privacy settings) 
- Edit the file MacOS/standard-install and add the following to the vmargs: "-Dcom.genuitec.pulse.debug.memory.check=true" 
- Run standard-install

出处:https://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=137321

转载于:https://www.cnblogs.com/freedom-elf/articles/4107030.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值