码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2015-08-05 00:51:23      阅读:385      评论:0      收藏:0      [点我收藏+]

标签:

最近想尝尝鲜,FQ去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

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

标签:

原文地址:http://www.cnblogs.com/zjoch/p/4703421.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!