=====================================
Background Indexer Crash Recovery
Java heap space
这个狗比异常,真恶心
=====================================
eclipse.ini
=====================================
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
=====================================
-Xmx512m改成-Xmx256m就好 了
=====================================
本文解决了Eclipse因BackgroundIndexer导致的内存溢出问题,通过调整-Xmx参数的大小来避免Java堆空间溢出,确保了开发环境的稳定运行。
2万+

被折叠的 条评论
为什么被折叠?



