eclipse导入项目的时候弹出内存不足

在eclipse的安装目录的跟目录下面找到名字为eclipse的配置文件,修改最后两行即可。

参考文档:https://jingyan.baidu.com/article/4ae03de3f138ee3eff9e6b9e.html

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130521-0416
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m

猜你喜欢

转载自1601844782.iteye.com/blog/2399585