iweboffice2015 下载:Eclipse 报错:An out of memory error has occurred. Consult the “Running Eclipse” section of the read me
来源:百度文库 编辑:中财网 时间:2024/05/04 00:27:43
Eclipse 报错:An out of memory error has occurred. Consult the “Running Eclipse” section of the read me file for information on preventing this kind of error in the future.
2011-05-18 13:56:38| 分类: 学习 |字号 订阅
最近在使用PHPEclipse 做项目的时候,Eclipse老报内存溢出:
An out of memory error has occurred. Consult the “Running Eclipse” section of the read me file for information on preventing this kind of error in the future. You are recommended to exit the workbench.
Subsequent errors may happen and may terminate the workbench without warning.
See the .log file for more details.
Do you want to exit the workbench?
百度了下,说要修改eclipse.ini
我的eclipse.ini的具体内容如下:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.php.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
修改相关参数:
org.eclipse.epp.package.php.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx384m
-XX:PermSize=512M
-XX:MaxPermSize=512M