在"更新索引"期间发生内部错误.Jclipse启动期间的堆空间?

emi*_*lly 18 java eclipse heap-memory

我在启动eclipse时遇到错误

An internal error occurred during: "Updating indexes".Java heap space?
Run Code Online (Sandbox Code Playgroud)

半小时前它运行正常.我重启了日食并现在得到这个错误?我有8 GB的RAM,窗口7 64位操作系统.我试过重新启动我的系统,但没有任何帮助?

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-showsplash
org.eclipse.platform
-showLocation
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vm
C:/Program Files (x86)/Java/jdk1.6.0_25/bin/javaw.exe
-vmargs
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
Run Code Online (Sandbox Code Playgroud)

不确定我的问题是什么?

小智 34

如果您安装了m2e或其他Maven插件,则应检查是否启用了" Window - > Preferences - > Maven - > Download repository updates index on startup "选项.禁用它,看它是否解决了内存不足的问题.