解决Mac OS下安装MyEclipse报错:Your system does not have sufficient memory to support MyEclipse
最近想尝尝鲜,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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 25岁的心里话
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
2014-08-04 城市三维地下管线管理系统
2012-08-04 修复VS 2010的Help Library管理器
2012-08-04 Vs2010中文版MSDN 安装方法
2012-08-04 编译的时候生成.g.cs还有.g.i.cs,有什么区别?
2010-08-04 OraOps10.dll不能加载