JAVA Error occurred during initialization of VM 错误的解决方

今天安装了eclipse-jee-galileo-win32 + jdk-1_5_0_20-windows-i586-p.exe

但是在安装完成后却出现了错误。我运行eclipsec.exe

提示信息:

Error occurred during initialization of VMCould not reserve enough space for object heap

google 了一下,,初步断定是内存方面的问题

于是决定修改配置文件

eclipse.ini

-startupplugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar–launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519-productorg.eclipse.epp.package.jee.product–launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform–launcher.XXMaxPermSize256m-vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx512m

将最后一行改为 -Xmx256m

保存后再次启动,就正常了。

版权声明:本文为博主原创文章,未经博主允许不得转载。

数最亮的星。如果有可能,我带你去远行。

JAVA Error occurred during initialization of VM 错误的解决方

相关文章:

你感兴趣的文章:

标签云: